0

Prototype?

Functions, a function can be called before declaration. If it is prototyped

13th Apr 2019, 11:53 PM
David Lynch
David Lynch - avatar
5 Answers
+ 1
The declaration is the prototype.
13th Apr 2019, 11:55 PM
HonFu
HonFu - avatar
0
A function can be declared but not prototyped dependent on its position in relation to the int main
13th Apr 2019, 11:57 PM
David Lynch
David Lynch - avatar
0
For example. Void fhdj();//prototype Int main(){ fhdj(); } Void fhdj(){//declaration } Next program Void hdjd(){//declaration } Int main(){ hdjd(); }
14th Apr 2019, 2:12 AM
David Lynch
David Lynch - avatar