0
whats the benefit of using function prototype?
Why we need them?
1 Answer
0
function prototype is the declaration of function. it tells the compiler about the return type, no. of parameters, data type of parameters, if arguments are passed by value or reference.
As every variable requires a declaration similarly a function also requires a prototype