/
What is a string in the context of software?
What is a string in the context of software?
How does a computer store a sentence or a name or a paragraph?
It stores it as a sequence or “string” of characters - each character is a letter in the string.
So we is what we mean when we refer to a string in software.
For example in Javascript we might declare these strings:
var Name = 'Fred Johnson';
var Sentence = "The quick brown fox jumped over the lazy dog.";
or in C:
const char* pWords = "This is a sentence in C.";
, multiple selections available,
Related content
Heap and stack - understanding memory allocation
Heap and stack - understanding memory allocation
Read with this
Strings
Strings
More like this
Using an array to concatenate a long string
Using an array to concatenate a long string
Read with this
Javascript Strings
Javascript Strings
More like this
How does malloc work?
How does malloc work?
Read with this
String Manipulation
String Manipulation
More like this