A

Admin • 828.03K Points
Coach

Q. What is the purpose of 'return 0;' in main()?

  • (A) Returns 0 to OS indicating successful execution
  • (B) Terminates the loop
  • (C) Closes the program
  • (D) Prints 0 to output
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
'return 0;' indicates that the program ended successfully.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.