+ 2
Please explain clearly
when we are supposed to use "int main()" and when we are supposed to use "void main()"
3 Answers
+ 20
"int main()" is the standard. Some compilers don't accept "void main()", thus why "int main()" is preferred.
+ 14
when we are supposed to use "int main()" and when we are supposed to use "void main()"