A

Admin • 833K Points
Coach

Q. When the condition of the do-while loop is false, how many times will it execute the code?

  • (A) 0
  • (B) 1
  • (C) Infinite
  • (D) All of these
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

The do-while loop is an exit-controlled loop, hence it will run at least once, even if the condition becomes false.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.