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:

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:
:: Hi how is this blog it is useful write a comment ..thank u for visiting...
:: :: Nihal naik 01.jpg

Thursday, 18 April 2013

program

About C programing:: This program is a patern shown as below
1
2 3
4 5 6
7 8 9 10

ans: #include
#include
main()
{
int i,j,k=1;
for(i=1;i<=4;i++)
{
for(j=1;j printf("%d",k++);
printf("\n");
}
getch();
}