C++ standard lists allowed forms of main. It doesn't list int main(void) as an allowed form. But, it generally states that
The parameter list (void) is equivalent to the empty parameter list
Is int main(void) an allowed form?
C++ standard lists allowed forms of main. It doesn't list int main(void) as an allowed form. But, it generally states that
The parameter list (void) is equivalent to the empty parameter list
Is int main(void) an allowed form?