if(p)

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri Oct 4 09:31:40 AEST 1985


> I disagree...  Pointers have VALID and INVALID values.  So when you
> say if(p) you're asking if it has a VALID or INVALID value.  It's
> just that conveniently most machines have 0 as the INVALID value.

So if p is non-NULL, it is valid, eh?  Chuckle, chuckle.



More information about the Comp.lang.c mailing list