What is the purpose of the statement return 0 ?
Answers
Answered by
3
Answer:
The main function is generally supposed to return a value and after it returns something it finishes execution. The return 0 means success and returning a non-zero number means failure. Thus we "return 0" at the end of main function. But you can run the main function without the return 0.It works the same
Explanation:
please mark me brilliantest answer and follow me on brainly and get ♥️♥️♥️♥️
Similar questions
Math,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
Social Sciences,
4 months ago
History,
10 months ago
Math,
10 months ago
Chemistry,
10 months ago