About C programing
Sunday, 22 February 2015
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:
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:
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:
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();
}
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();
}
Wednesday, 17 April 2013
Subscribe to:
Comments (Atom)