Main Page | See live article | Alphabetical index

Null character

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.