Add two integers
#include<stdio.h>
#include<conio.h>
void main()
{
int a=32,b=56;
int sum;
clrscr ();
sum=a+b;
printf("sum of a and b is %d",sum);
getch ();
}
Output :
Sum of a and b is 88
This blog is for basic programming tutorial. Mostly programs of c and c++ programming are available here .
Comments
Post a Comment