i know int main is the basic function of the program but what is its purpose and how does it affect a program when int main is placed at the end of the prog or when its placed at the beginning? does this matter for the program or is it a programmers style?