Accessing Characters in a C String
Because a C string is a built-in array of characters, we can access individual characters in a string directly with array subscript notation. For example, in the preceding declaration,
color is the character
color is the null character.