answersLogoWhite

0

You could just define the whole function before it is called, like this:

void do_nothing(){

}

main(){

do_nothing();

}

but if you define the function after it is called, the compiler will arrive at the function's calling before its actual definition. If you prototype your function earlier in the code than the function's call, the compiler will look for the function first.

Hope I was able to help.

User Avatar

Wiki User

14y ago

What else can I help you with?