c check if null
snippet in c

c check if null

user2649

int * some_ptr;
if (some_ptr == NULL){
} else {
}