0 vs NULL - a note

Robert Collins robert.collins@itdomain.com.au
Tue Nov 27 23:46:00 GMT 2001


On Wed, 2001-11-28 at 18:16, Corinna Vinschen wrote:
> And another note:
> 
> 	if (ptr)
> 
> and
> 
> 	if (!ptr)
> 
> avoid all confusion about 0 vs. NULL.
> 

Not quite, it only solves for comparisons, not for
assignment/initialisation. 

Rob



More information about the Cygwin-apps mailing list