On Thu, 2011-01-27 at 21:46 -0500, Senthil Kumaran S wrote: > A NULL does mean '\0' or (void *) 0x. I also referred this - > http://en.wikipedia.org/wiki/Null_character which says the same when > referring to NULL termination of a string, except for one place where > it says 'NUL' is an abbreviation for NULL character - > http://en.wikipedia.org/wiki/NUL
"NULL" (all caps) is a C preprocessor constant used to denote a null pointer. "NUL" (all caps) is sometimes used as an abbreviation for the null character. "Null" (uncapitalized except as appropriate for beginning a sentence) is an noun or adjective which can be used in a variety of contexts. You will note that "null" is never written in all caps in the Wikipedia articles you referenced. So a "NULL-terminated string" is a meaningless concept; you can't use a null pointer to terminate a character string. A "NUL-terminated string" is meaningful, as is a "null-terminated string" or "null-character-terminated string."