ABSTRACT

An individual text character is denoted by a text symbol enclosed in single quotes, and this can be assigned to a variable of type char. For example:

As mentioned previously, a string is declared as an array of type char. The size of the array must be sufficiently large to store the text string and the terminating ‘\0’ character.