String Data Structures Flashcards
1
Q
What can a String data type be described as?
A
A string can be defined as an array of characters.
2
Q
What is the String data structure most used for?
A
Strings are mostly used to represent text.
3
Q
What are the advantages of using Strings?
A
Strings are easy to change and the size of strings can grow or shrink. Additionally, there are various built-in functions that can be used to manipulate a String.