if(p)

Eugene D. Brooks III brooks at lll-crg.ARpA
Sat Oct 5 11:45:44 AEST 1985


Yep, if(p) tests to see if p is a valid pointer, valid in the sense that
it point somewhere.  Of course it may point to a location that will dump core.
If it very unfortunate that on a VAX a NULL pointer does not dump core.



More information about the Comp.lang.c mailing list