what do you mean by function protoypes?
By fedoralinux
@fedoralinux (556)
India
January 12, 2010 8:39am CST
i don't know about this, if anyone know response about this function prototypes i had little bit confusion so that's why i am asking.
1 response
@May2k8 (19788)
• Indonesia
12 Jan 10
function prototype is a declaration of a function that omits the function body but does specify the function's name, arity, argument types and return type. While a function definition specifies what a function does, a function prototype can be thought of as specifying its interface.
In a prototype, argument names are optional, however, the type is necessary along with all modifiers (i.e. If it is a pointer or a const argument).
Example:
int fac(int n);


