After reading the FAQ and the latest post about void main() and int main() I looked at some sample code that came with my compiler.
One thing I noticed is that they declared all the functions before the main(). IE.
My question is this. What is the point of declaring them before main() and what effect does it have?
int function1(var 1, var2);
blah blah blah
I'm using Borland TurboC ("older then dirt" version)
It never required me to use void or int before a function so I'm trying to learn that part so I can change my habit.