I have a challenge
Write a function prototype for a function sum which returns sum of the 2 integers a
and b passed to it as a parameter.
Answers
Answered by
2
Explanation:
int fsum(int a, int b); // function prototype
int s=fsum(a,b); // function call
int fsum(int a, int b) //function definition
{
int s=a+b;
return s;
}
Answered by
1
Similar questions
Computer Science,
1 month ago
Computer Science,
1 month ago
English,
1 month ago
Science,
3 months ago
Hindi,
3 months ago
Chemistry,
10 months ago
Science,
10 months ago
Math,
10 months ago