A character array is a sequence of characters stored in contiguous memory locations.
A string in C is a character array terminated by a null character ‘\0’.
Example:
char name[6] = {'H', 'e', 'l', 'l', 'o', '\0'};or simply:
char name[] = "Hello"; // Automatically adds '\0'