Answer Posted / avinash jadhav
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int num1,num2,sum;
clrscr();
printf("\nEnter the 2 numbers\n");
scanf("%d%d",&a,&b);
sum=num1+num2;
printf("The sum of the two number is %d\n",sum);
getch();
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the 4 types of programming language?
#include
When the macros gets expanded?
Distinguish between actual and formal arguments.
What is string length in c?
Do you know the difference between exit() and _exit() function in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Is c procedural or object oriented?
Is printf a keyword?
Compare and contrast compilers from interpreters.
Why is c faster?
How many types of errors are there in c language? Explain
Simplify the program segment if X = B then C ← true else C ← false
Is flag a keyword in c?
If null and 0 are equivalent as null pointer constants, which should I use?