Answer Posted / anandi
#include<stdio.h>
#include<conio.h>
void main()
{
int add(int,int);
int a,b;
clrscr();
printf("Enter two numbers: ");
scanf("%d %d",&a,&b);
printf("The Sum is: %d",add(a,b));
getch();
}
int add(int x,int y)
{
return(x+y);
}
| Is This Answer Correct ? | 42 Yes | 14 No |
Post New Answer View All Answers
Why do we need a structure?
What is nested structure with example?
What is omp_num_threads?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the difference between memcpy and memmove?
Write a C program to count the number of email on text
What is a stream?
c program to compute AREA under integral
What are the general description for loop statement and available loop types in c?
What is memcpy() function?
What does return 1 means in c?
What is data structure in c and its types?
define string ?
What is the easiest sorting method to use?
What does sizeof function do?