+ 2
Why do I use void main in place of int main
Why do I use void main in place of int main
1 Answer
+ 4
For C++, you never do. The standard states int main so the programmer codes int main.
https://www.sololearn.com/Discuss/11014/what-if-we-used-void-main-instead-of-int-main
https://www.sololearn.com/Discuss/973021/what-is-the-different-between-void-man-int-main-function
https://www.sololearn.com/Discuss/575950/can-we-use-void-main-instead-of-int-main