A

Admin • 833K Points
Coach

Q. What is the purpose of the 'return 0;' statement in the main function?

  • (A) Returns control to the compiler
  • (B) Indicates successful execution
  • (C) Stops program execution
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 28
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

'return 0;' indicates that the program terminated successfully.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.