Null-terminated string: Difference between revisions

Content deleted Content added
LittleDan (talk | contribs)
in music
Raul654 (talk | contribs)
Security problems addition
Line 1:
In computing, '''C strings''' are [[string]]s stored as one-dimensional [[character]] [[array]]s in the [[C programming language|C]] and [[C Plus Plus|C++]] programming languages. In C, they are simply called "strings," while in C++ they are called "C strings" to differentiate them from [[Standard Template Library|STL]] ([[ANSI]] standard C++) strings. C strings are distinguished by the fact that they are terminated with a [[null character]] ('\0'). This null-termination characteristic has historically created security problems related to the the length of the string.
 
----
Many stringed insturments like [[violin]]s contain a string that, when played open, produces the note [[C]]. This is usually reffered to as the '''C string'''.