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