#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 a null string in c?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does *p++ do? What does it point to?
Explain continue keyword in c
Explain what is wrong with this program statement?
How can I dynamically allocate arrays?
What are the 5 types of inheritance in c ++?
What is the difference between struct and typedef struct in c?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
In c language can we compile a program without main() function?
What is operator precedence?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Where static variables are stored in c?
How can you call a function, given its name as a string?
How can you allocate arrays or structures bigger than 64K?