- 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..
2 Antworten
+ 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++...
+ 1
I found out the answer myself while studying functions....
https://www.sololearn.com/learn/CPlusPlus/1635/
(see page no.2)