Computer Science, asked by sundeepdas65748, 4 months ago

What is the purpose of the statement return 0 ?

Answers

Answered by skmadhuri114
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