Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Initializing arrays of char Message-ID: <1990Oct6.232047.28275@zoo.toronto.edu> Organization: U of Toronto Zoology References: <14796@mentor.cc.purdue.edu> <9418:Oct503:06:2790@kramden.acf.nyu.edu> <1990Oct6.011240.8538@kfw.COM> <21149:Oct604:52:2190@kramden.acf.nyu.edu> Date: Sat, 6 Oct 90 23:20:47 GMT In article <21149:Oct604:52:2190@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: >> 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... The capitalization here is significant. NULL is a name for 0, used when discussing null [note lower case] pointers in C. NUL is the official ASCII name for the character with bit pattern 0000000, often used as a null character. -- Imagine life with OS/360 the standard | Henry Spencer at U of Toronto Zoology operating system. Now think about X. | henry@zoo.toronto.edu utzoo!henry