#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 an auto variable in c?
Where is volatile variable stored?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is realloc in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
What is a union?
Why is void main used?
What is the difference between functions getch() and getche()?
What is structure pointer in c?
How to establish connection with oracle database software from c language?
How to implement a packet in C
What is the use of typedef in structure in c?
Not all reserved words are written in lowercase. TRUE or FALSE?
What is the maximum no. of arguments that can be given in a command line in C.?
Why double pointer is used in c?