Null pointers

special, reserved pointer value
points definitively “nowhere”
compares unequal to any valid pointer
used as marker, error return, etc.

p = 0
p = NULL

if(p == NULL)
if(p != NULL)

if(p == 0)
if(p != 0)
if(p)