C Character Set
The character set is the fundamental raw material of any language and they are used to represent information.
Like natural languages, computer language will also have well defined character set, which is useful to build the
programs. The characters in C can be grouped into the following categories:
a. Alphabets / Letters
b. Digits
c. Special Characters
d. White Spaces
Uppercase letters A-Z
Lowercase letters a-z
Digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Special Characters
~ tilde = equal to " quotation mark
& ampersand
% percent sign ; semicolon
$ dollar sign ] right bracket
| vertical bar
/ slash ! exclamation mark
@ at symbol
( left parenthesis , comma
+ plus sign
* asterisk { left flower brace
< less than
_ underscore \ back slash ? Question mark
- minus sign ) right parenthesis . dot operator
> greater than ′ apostrophe } right flower brace
^ caret : colon
# number sign [ left bracket
Whitespace Characters
blank space Single space inside ' ' or " "
horizontal tab \t
carriage return \r
new line \n
form feed \f
Note: Backslash character constants will be discussed with constants