#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
Is it possible to pass an entire structure to functions?
Explain what’s a signal? Explain what do I use signals for?
Is struct oop?
What is the scope of global variable in c?
how to introdu5ce my self in serco
What is output redirection?
What are the types of unary operators?
What does %2f mean in c?
Why ca not I do something like this?
4. main() { int c=- -2; printf("c=%d",c); }
What is the difference between ‘g’ and “g” in C?
Explain what is the benefit of using enum to declare a constant?
What are all different types of pointers in c?
What is the difference between c and python?
Is c still relevant?