Jump to content

Null character

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Sewing (talk | contribs) at 16:19, 10 October 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The null character is used in the C and C++ programming languages to signify the end of C strings (character arrays). The null character is represented as '\0' in source code and is stored internally as number 0 (that is, 00000000 (all bits cleared, or set to zero)) in the ASCII one-byte character system.