Initializing arrays of char
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Sat Oct 6 14:52:21 AEST 1990
In article <1990Oct6.011240.8538 at kfw.COM> dan at kfw.com (Dan Mick) writes:
> In article <9418:Oct503:06:2790 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> >More to the point, an alert reader will notice that you haven't
> >accounted for the NULL.
> Argh. Dan, I'm shocked.
> That's NUL. NULL is a pointer. NUL is a character.
Only for people who think in C. I learned from Knuth, and I still write
/\ (well, can't really do a capital lambda on a non-APL keyboard) when I
think of the null/nil/meaningless pointer.
The null character is 0. Meaning 3 in my dictionary...
---Dan
More information about the Comp.lang.c
mailing list