Question Locked
void main()
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
IS using void main() in c++ legal?
Web Development
by ankitmahapatra22 Accepted solution
by the scummy one Accepted solution
by tony hopkinson Accepted solution
Is there any reason at all to use it?
Answer no, not one.
Int Main()
The OS expects a result, it's calling main, so give it one. There is a always a result 0 = successfully executed Main.
This discussion is closed to new replies.
Sort by Trending