Wednesday, 28 November 2012

Program without header files

program 1
void main()
{
 int a,b;
 a=10;
 b=5;
 a=a+b;
}

program 2
int main()
{
 int a,b;
 a=10;
 b=5;
 a=a+b;
 return a;
}

program 3
char main()
{
 char a,b;
 a=10;
 b=5;
 a=a+b;
 return a;
}

2 comments:

You are welcome, your comment helps me to make this blog more better.