Vladimir Grigoriev
2010-02-15 15:12:28 UTC
In the C++standard there is the following text (3.6.1.2)
"An implementation shall not predefine the main function. This function
shall not be overloaded. It shall
have a return type of type int, but otherwise its type is
implementation-defined."
What does mean "otherwise"? Does it mean that the main may return void?
Vladimir Grigoriev
"An implementation shall not predefine the main function. This function
shall not be overloaded. It shall
have a return type of type int, but otherwise its type is
implementation-defined."
What does mean "otherwise"? Does it mean that the main may return void?
Vladimir Grigoriev