Q&A
Ask and answer questions to make information more available to wider audiences.
Mya Linwod @linwodmya   06, Apr 2023 12:00 AM
prototype function
What is the explanation for prototype function in C?
answers 1
 
Answer 1
Johnny Akin @akinjohnny   06, Apr 2023 04:39 PM
Prototype function is a declaration of a function with the following information to the compiler.
* Name of the function.
* The return type of the function.
* Parameters list of the function.
int Sum(int, int);
In this example Name of the function is Sum, the return type is the integer data type and it accepts two integer parameters.