In this example string is stored in the character variable month the string is displayed in the statement.
printf(“The string entered is %s”, month”);
It is one dimension array. Each character occupies a byte. A null character (\0) that has the ASCII value 0 terminates the string.
The figure shows the storage of string January in the memory recall that \0 specifies a single character whose ASCII value is zero.
J A N U A R Y \0 Character string terminated by a null character ‘\0’.