the nil pointer is not zero
Walter Bright
bright at nazgul.UUCP
Tue Nov 20 16:30:09 AEST 1990
In article <14516 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
/I don't think so. What good would it do you to know how a null pointer
/is represented? There is nothing useful you can do about that.
1. Explanations of how C works become much simpler (note the endless debate
on usenet about NULL and 0). Making C more understandable with fewer
counter-intuitive rules is useful.
2. You will be able to reliably be able to use memset and calloc to initialize
structures containing pointers.
More information about the Comp.lang.c
mailing list