Hi,

In many programming references, I have found that in programs with several functions in the same .c file, that main() is often placed at the end of the file. While this seems to be counter intuitive as main is executed first, I have just come across a case where this seemed to matter.

So is this a matter of style, or is there a good technical reason for laying out programs in this way?

--dave