whats the benefit of using function prototype? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

whats the benefit of using function prototype?

Why we need them?

26th Aug 2017, 10:51 PM
Huitian Diao
Huitian Diao - avatar
1 Respuesta
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