[Courses] [C] Beginner's Lesson 4A: Quibbles...

KWMelvin kwmelvin at intrex.net
Fri Oct 11 10:41:25 EST 2002


On Fri, Oct 11, 2002 at 07:27:09AM -0400, KWMelvin wrote:
> On Thu, Oct 10, 2002 at 10:06:32PM -0700, Daniel. wrote:
> > A few little quibbles and clarifications:

> > >	Strings are arrays of characters.  The special character `\0' (NUL)
> > >	indicates the end of a string.
> > 
> > And is just a zero, by the way. Saying '\0' instead of 0 emphasizes 
> > its function as a string-terminator to the human reader, but makes no 
> > difference to the compiler.

You are absolutely correct! A zero is a zero is a zero and will always
be a zero. The NUL is zero.  I was thinking of the character "0" and
got confused.  I'm sorry.

Thank you very much for your help!
--
K




More information about the Courses mailing list