What's the deal with return 0; ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the deal with return 0; ?

I deleted the return 0; part and ran the program ,but Hello world was printed again!

14th Nov 2020, 10:24 AM
amirreza moosavi
1 Answer
+ 4
Hi Amireza, Please next time add a relevant language name in the tags (above) for sake of context clarity. And if you were referring to C or C++, then I suggest you search the forum, cause this topic been discussed before many times 👍
14th Nov 2020, 10:27 AM
Ipang