Character set
Character set are the set of alphabets, letters and some special characters that are valid in C language.
Alphabets:
Uppercase: A B C .................................... X Y Z
Lowercase: a b c ...................................... x y z
Digits:
0 1 2 3 4 5 6 8 9
Special Characters:
, | < | > | . | _ | ( | ) | ; | $ | : | % | [ | ] | # | ? |
' | & | { | } | " | ^ | ! | * | / | | | - | \ | ~ | + |
White space Characters:
blank space, new line, horizontal tab, carriage return and form feed
Keywords:
Keywords are the reserved words used in programming. Each keywords has fixed meaning and that cannot be changed by user. For example:
int money;
Here, int is a keyword that indicates, 'money' is of type integer.
As, C programming is case sensitive, all keywords must be written in lowercase. Here is the list of all keywords predefined by ANSI C.
auto | double | int | struct |
break | else | long | switch |
case | enum | register | typedef |
char | extern | return | union |
continue | for | signed | void |
do | if | static | while |
default | goto | sizeof | volatile |
const | float | short | unsigned |
Besides these keywords, there are some additional keywords supported by Turbo C.
asm | far | interrupt | pascal | near | huge | cdecl |
All these keywords, their syntax and application will be discussed in their respective topics. However, if you want brief information about these keywords without going further visit page: list of all C keywords.