CHARACTER
SET
Instructions
in C language are formed using syntax and keywords. Like any other language, C
has it’s own vocabulary and grammar. It is necessary to strictly follow C
language Syntax(grammatical) rules. These Syntax were maid using some symbols
and words. Any instructions that mis-matches with C language Syntax generates
an error while compiling the program.
The character set in C Language can be grouped
into the following categories.
1. Letters a to z, A to Z
2. Digits 0 to 9
3. Special Characters , . ; : ? ‘ “ ! / \ ~ - % & | ^ + _ *
2. Digits 0 to 9
3. Special Characters , . ; : ? ‘ “ ! / \ ~ - % & | ^ + _ *
< > (
) [ ]
{ } # =
4. White Spaces Blank Space, Horizontal Tab, Carriage Return, New Line, Form- Feed
The compiler
ignores the white spaces unless they are part of string constant. White spaces
are used to separate words, but should not be used between the characters of
keywords and identifiers.
No comments:
Post a Comment