Computer Science, asked by APOLLOthunderstrike, 2 months ago

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 kunjuzz91
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 Oreki
1

\textsf{\large \textbf{Function Prototype}}

   \texttt{int sum(int a, int b);}

Similar questions