Is int main(void) valid in C++?

Viewed 414

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?

2 Answers
Related