#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0,c=0;
printf("enter value of a,b");
scanf("
%d %d",a,b);
c=a+b;
printf("sum is %d",c);
getch();
}
Answers were Sorted based on User's Feedback
Explain the difference between structs and unions in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is difference between union All statement and Union?
Write a program in c using only loops to print * * * * * *******
If errno contains a nonzero number, is there an error?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Can two or more operators such as and be combined in a single line of program code?
What are the __date__ and __time__ preprocessor commands?
Can a pointer be static?
How do you construct an increment statement or decrement statement in C?
What is identifier in c?
What is return in c programming?