The Character Set of C Programming Language
Notes:
The Character Set of C Programming Language
First step in learning any language is; knowing its character set.
How do we have learnt English language?
Digits: 0,1,2,3,4,5,6,7,8,9
Alphabets: A - Z & a – z
Special Characters:, , ., ;, : ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Character set: Set of characters used in the language for forming words, sentences, paragraphs etc.
As C is also a language, it also has set of characters used in forming tokens, instructions, programs etc.
Digits: 0,1,2,3,4,5,6,7,8,9
Alphabets: A - Z & a – z
Special Characters:, , ., ;, : ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Escape sequence characters: \n, \t ,\v,\a,\b,\\,\”,\’ etc.
C character set supports ASCII character set.
For every character there is unique number in ASCII character set.
ASCII (7bit - 128): American Standards Code for Information Interchange