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.