New course! Every coder should learn Generative AI!
Try a free lesson0
What is actually the role of return 0; ?
1 Answer
+ 2
Your main function is int type. This means it has to return an integer because otherwise it would be void. 0 is the integer that it returns