String (computer science): Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
A string has special connotations in the world of [[computing]]. It is literally a group of letters "strung" together. The most common string is the "null-terminated" (also known as nil-terminated, or 0-terminated) string. It receives this name based on the way it stores data.
 
For instance, a program may want to receive input of variable length. It requests 10 [[Integral data typesIntegral_data_types|bytes]] from the computer into which to store characters. It receives the data to store, and appends a 0 after the data to signify the end of the string.
 
<PRE>