char Data Type · char is the smallest integral data type. (1 byte) · char data type is used to represent characters, that is letters, digits and special symbols. · Each character is enclosed within single quote marks. Some of the values belonging to char data type are: 'A', 'a', '0', '*', '+', '$', '&' · Blank space is a character and is written ' between the single quotes. ', with a space left
ASCII Character Set · Each of the 128 values of the ASCII character set represents · · · a different character. The value 65 represents 'A', and the value 43 represents '+'. The value representing 'B' is 66, so 'A' is smaller than 'B'. '+' is smaller than 'A' since 43 is smaller than 65. In C, the new line character is represented as 'n'. The horizontal tab character is represented in C as 't'. The null character is represented as '