#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();
}
Answer Posted / abhishek
enter value of a,b
10
10
sum is 20
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are header files in c programming?
What are variables c?
Can a file other than a .h file be included with #include?
Explain the process of converting a Tree into a Binary Tree.
Can we access array using pointer in c language?
What is sizeof array in c?
Dont ansi function prototypes render lint obsolete?
Is c procedural or functional?
Can you explain the four storage classes in C?
What is the size of enum in bytes?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Can include files be nested?
Can a pointer point to null?
Here is a neat trick for checking whether two strings are equal
What are the 4 types of unions?