Originally Posted by
matsp
So that main can be used to implement the "global constructor" functionality in C++. Since C doesn't have global construction, there was at the time of specifying the language, no need to prevent that. And a standards committe will not change the language standard simply because some other closely related language doesn't support the functionality that your language supports - that just means an unecessary break of backwards compatibility (even if its use is ever so ugly), whcih wins you NO friends at all.
--
Mats