Content deleted Content added
m Robot-assisted disambiguation (you can help!): C programming language |
mNo edit summary |
||
Line 3:
In computing, '''C strings''' are [[character string|character sequence]]s stored as one-dimensional [[character (computing)|character]] [[array]]s and terminated with a [[null character]] ('\0' or ASCII 0). The name refers to the ubiquitous [[C (programming language)|C programming language]] using this [[string (computer science)#Representations|string representation]], and is used elsewhere to distinguish this often-used representation from others.
The null-termination characteristic has historically created [[computer insecurity|security problems]] related to the length of the string. If the null character is not
In the [[C++]] [[programming language]], C strings are used in addition to another representation of character sequences, the <code>std::string</code> container found in the [[Standard Template Library]] (STL). Thus, it is important to differentiate between the traditional "C strings" and the more advanced "string" objects provided by the STL.
|