Saturday, 20 April 2013

C Tokens

C Tockens: :: :
The basic and the smallest unit of a c program are called c tokens..there are 6 types of tokens.
1.key world:
These are resolved words which have pre defined meaning in c.all keywords must be written in lower case letter.
Example: auto ,break ,do,double,else,num,float,etc...

Identifies: it means given two various programing elements varibles,arras and functions.
Example: name, roll num.

Constants: it is a fixed value they does not change during excution of a program. C cosist of several types of constants
a)Integer constant
b)floating point constant
c)charactor constant
d)string constant

Operater: an operator is a symbol used for certain type of manipulation ,logical or methemetical the data on whici operator is act is called...

Special symbol:

No comments:

Post a Comment