Character set is important for any computer languages because this character is understood by the compiler. To write a program, we code, but the code has to be meaningful to the compiler. To write statement, expression, variable or custom function name, this are formed from this computer set.
C character sets are belows:
- Uppercase letter A to Z
- Lowercase letter a to z
- The digit 0 to 9
- And some special character sets
+ - * / = % & #
! ? ^ " ' ~ \ |
< > ( ) { } [ ]
: ; . , _
- \b blank space
- \t horizontal tab
- \v vertical tab
- \r carriage return
- \f form feed
- \n new line
- \\ Back slash
- \’ Single quote
- \" Double quote
- \? Question mark
- \0 Null
- \a Alarm (Audible Note)
No comments:
Post a Comment