#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 / hitesh kumar
enter value of a,b
10
10
sum is 0
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the difference between volatile and const volatile?
What is typedef struct in c?
What is table lookup in c?
What is the difference between exit() and _exit() function in c?
What is #define used for in c?
What are enums in c?
Why double pointer is used in c?
What are the types of data structures in c?
Is null valid for pointers to functions?
What is the g value paradox?
What is a structure in c language. how to initialise a structure in c?
What is identifier in c?
What are structural members?
What is define directive?
What do you mean by command line argument?