A string in C is simply a sequence of characters.
Declaration of Strings in C
To declare a string, specify the data type as char and place the number of characters in the array in square brackets after the string name.
The syntax is shown below:
char name; char address; char city;