Seven Original Sins of K&R (Long)

Henry Spencer henry at zoo.toronto.edu
Sat Oct 6 02:55:59 AEST 1990


I wrote:
>	No legal program can tell the difference between #define NULL 0,
>	#define NULL 0L, and #define NULL ((void *)0).

Well, if you want to be really picky, something like "sizeof(NULL)" can,
but no proper use of NULL as a pointer can.
-- 
Imagine life with OS/360 the standard  | Henry Spencer at U of Toronto Zoology
operating system.  Now think about X.  |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list