- 1

What is the difference between void main () and int main??

please explain what is the difference because both act as body tag of html..

17th Mar 2018, 1:21 PM
Anand Mishra
Anand Mishra - avatar
2 Answers
+ 1
So should I discontinue using void main () ? what will be the changes except return 0 when I use int main? I am an indian and have just started c++ with Turbo C++ complier and here basics are taught by Turbo C++...
20th Mar 2018, 5:08 AM
Anand Mishra
Anand Mishra - avatar
+ 1
I found out the answer myself while studying functions.... https://www.sololearn.com/learn/CPlusPlus/1635/ (see page no.2)
22nd Mar 2018, 6:39 PM
Anand Mishra
Anand Mishra - avatar