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
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