Seven Original Sins of K&R (Long)

house ron s64421 at zeus.usq.edu.au
Fri Sep 28 21:26:37 AEST 1990


goudreau at dg-rtp.dg.com (Bob Goudreau) writes:

>In article <1990Sep26.193626.721 at phri.nyu.edu>, roy at phri.nyu.edu (Roy
>Smith) writes:
>> 
>> #define NULL (""[1])
>> 
>> would that work?

>Nope; it's not even *defined* behavior to access beyond the end of
>an array, which is what you've done.

I think he means 

   #define NULL (""[0])

-- 
Regards,

Ron House.   (s64421 at zeus.usq.edu.au)
(By post: Info Tech, U.C.S.Q. Toowoomba. Australia. 4350)



More information about the Comp.lang.c mailing list