Tuesday, 18 December 2018

C Character Set

C Character Set 
Any language like English, Telugu etc… require alphabets to form words.
Likewise, a C programming language also need such a characters to write a C program which are called as C Character Set.

They are :
1. Letters
2. Digits
3. Special Characters
4. White Spaces.

1. Letters :

2. C language is case sensitive so it takes different meaning for lower and upper case letters. 


1. \b blank space
2. \n new line
3. \t horizontal tab
4. \v vertical tab
5. \r carriage return
6. \f form feed Delimiters 
In C programming, special characters are used for special syntactic meaning called Delimiters.
: (colon) Used for label entry.
() (parenthesis) Used for expression and enclosing the arguments in the function.
[] (square bracket) Used for describing the size of array
{} (braces) Used for beginning and ending of function blocks and main program.
; (semi-colon) Used at the end of every c statement except Control statements.


No comments:

Post a Comment