what if return(0) is not used ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what if return(0) is not used ?

what will happen if we don't write return(0) at the end of the program ? does it effect the program or the output of the program ?

6th Feb 2019, 4:38 PM
Pilli Revant Krishna Sagar
Pilli Revant Krishna Sagar - avatar
1 Answer
+ 3
If you don't want to return, use : void main ()
6th Feb 2019, 5:53 PM
Ashutosh Sharma
Ashutosh Sharma - avatar