Addition of two Numbers In C language

Program 1 :

[c]
#include<stdio.h>
#include<conio.h>
main()
{
int a;
int b;
int c;
clrscr();
a=10;
b=5;
c=a+b;
printf("%d",c);
getch();
}
[/c]

Program 2 :



[c]

#include<stdio.h>
#include<conio.h>
main()
{
int A;
int B;
int C;
int Z; clrscr();
A=10;
B=5;
C=3; Z=A+B-C;
printf("%d",Z);
}
[/c]

Share

About the Author

Akash Padhiyar

Visit Website

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

Time limit is exhausted. Please reload CAPTCHA.