we all know that in C/C++ execution of program begins with main() as it's the entry point. But since i started learning VC++ its written in every book that global application object gets created and then WinMain() gets called.
So i wanted to ask the same question whether in C/C++ also all global variables get created first and then main() gets executed? or first main() is called and then all global variables are called?
Also what exactly is meant by top down programming and bottom up programming? i mean C is top down and C++ is bottom up! why so?