whats the benefit of using function prototype? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

whats the benefit of using function prototype?

Why we need them?

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