A string is a series of characters treated as a single unit. A string may include letters, digits and various special characters written in double quotation marks: “Aurora Alvarado”
Strings are like arrays, because an array name is also a constant pointer to its first element.
A string can be stored in an array using steam extraction with cin:
cin >> word;
The string entered by the user is stored in word.
For more information about string look for “C++ How to program” by Deitel
#Mastery25 Creation/use of strings by Aurora Alvarado is licensed under a Creative Commons Attribution 4.0 International License.