0
If you define it globally (outside of main) before main, would you still need to declare it before using it?
Or would the definition count as its declaration as well?
1 Answer
+ 2
If the compiler reads the definition and/or declaration before you use the function, you are fine. Often you will have functions in header files.