+ 1
Hi , this is teja.. Do we can use void main () in C++??
3 Answers
+ 7
No, we cannot.
For probably the fifth time in this month, main() must return int in C++.
0
Yes, we can.
0
If you refer to the book by cdit, you can see that we can use void main