#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
When can a far pointer be used?
What is the scope of static variable in c?
What is meant by realloc()?
Why c is called object oriented language?
How to explain the final year project as a fresher please answer with sample project
What is the significance of an algorithm to C programming?
Is javascript written in c?
explain what is fifo?
What is the difference between if else and switchstatement
How can I dynamically allocate arrays?
What is data type long in c?
Explain how can I convert a string to a number?
what is the function of pragma directive in c?
What do you mean by dynamic memory allocation in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year