I believe that conformant compilers are supposed to accept:
if (ptr)
... as a valid test for a non-null pointer, regardless of the internal representation of pointers.
I believe that conformant compilers are supposed to accept:
if (ptr)
... as a valid test for a non-null pointer, regardless of the internal representation of pointers.