Tuesday, 22 April 2014

Character Set



Character Set:-

Whenever we write any C program then it consists of different statements. Each C Program is set of statements and each statement is set of different c programming lexims. In C Programming each and every character is considered as single lexim. he character set is the fundamental raw material of any language and they are used to represent information. Like natural languages, computer  language will also have well defined character set, which is useful to build the programs. These characters can be combined to form variables. C uses constants, variables, operators, keywords and expressions as building blocks to form a basic C program.

A character denotes any alphabet, digit or special symbol used to represent information. Each C Program is set of statements and each statement is set of different c programming character. The characters that can be used to form words, numbers, and expressions. The characters in C are grouped into four categories:

1.       Letters
2.       Digits
3.       Special Symbols
4.       White Spaces 

Letters:- Consists of uppercase A......Z and Lowercase a.....z.

Digits:- Consists of all decimal digits 0.....9.

Special Symbols:- Consists all special symbols like #, $, %, *, }, [ etc.

White Spaces:- Consists Blank Space, Horizontal tab, New Line, Form feed, etc.

No comments:

Post a Comment