whats the benefit of using function prototype? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

whats the benefit of using function prototype?

Why we need them?

26th Aug 2017, 10:51 PM
Huitian Diao
Huitian Diao - avatar
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
27th Aug 2017, 6:10 AM
pratheek shenoy k