Answer Posted / aswani
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the two numbers");
scanf("%d %d ",&a,&b);
c=a+b;
printf("%d sum is",c);
getch();
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is a good way to implement complex numbers in c?
Why c is called top down?
Describe how arrays can be passed to a user defined function
What is the symbol indicated the c-preprocessor?
Where are local variables stored in c?
How can I invoke another program or command and trap its output?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the difference between malloc() and calloc() function in c language?
Explain how do you view the path?
Explain what is the advantage of a random access file?
Can math operations be performed on a void pointer?
What are the 5 types of organizational structures?
What is a header file?
How we can insert comments in a c program?