SyntaxFix
Write A Post
Hire A Developer
Questions
The two valid mains are int main() and int main(int, char*[]). Any thing else may or may not compile. If main doesn't explicitly return a value, 0 is implicitly returned.
int main()
int main(int, char*[])
main