What is String?
Strings are considered a data type in general and are typically represented as arrays of bytes (or words) that store a sequence of characters. Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’
Below are some examples of strings:
“geeks” , “for”, “geeks”, “w3wiki”, “Geeks for Geeks”, “123Geeks”, “@123 Geeks”