Abandon NULL for (0)

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Oct 7 04:52:46 AEST 1989


In article <15571 at nswitgould.cs.uts.oz> karl_auer_%7801.801 at fidogate.fido.oz (1) writes:
>or allows conditional #defines depending on memory model

	#define NULL 0
is correct for all memory models and for all C implementations.
Sometimes other definitions are also correct, but the above is universal.



More information about the Comp.lang.c mailing list