What is the meaning of function prototype?
Answers
Answered by
3
In computer programming, a function prototype or function interface is a declaration of a function that specifies the function's name and type signature (arity, data types of parameters, and return type), but omits the function body.
Answered by
2
A function prototype is a declaration of the function that tells the program about the type of value return by the function the number and type of arguments.
Example: int sum(int a, int b);
Example: int sum(int a, int b);
Similar questions