1.How to add two number in C.
#include<stdio.h>
void main()
{
int a,b,c;
a=5;
b=6;
c=a+b;
printf("Sum of two numbers :%d",c);
}
Output :
11
#include<stdio.h>
void main()
{
int a,b,c;
a=5;
b=6;
c=a+b;
printf("Sum of two numbers :%d",c);
}
Output :
11
No comments:
Post a Comment