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
What is gets() function?
What is call by value in c?
What is the g value paradox?
What is the difference between call by value and call by reference in c?
difference between Low, Middle, High Level languages in c ?
Explain how can I avoid the abort, retry, fail messages?
What is the value of c?
What is the difference between functions abs() and fabs()?
What is volatile variable in c with example?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
How can I avoid the abort, retry, fail messages?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is this pointer in c plus plus?