Data Types in C: Char
Data types: Char
Below you will find all the necessary information pertaining to the topic Data Types: Char
Introduction to Char
Char is used to store the single character.
Char can store digit, letter or special character.
We use ‘ %c ‘ for initialization of a character data type.
- The range of the char data type varies from -128 to 255 as shown in the figure.
Example of Char using C
printf("Enter the variable: ");