A

Admin • 828.03K Points
Coach

Q. Which is true about a do-while loop?

  • (A) The condition is checked before the loop body
  • (B) It executes the loop body at most once
  • (C) It executes the loop body at least once
  • (D) It is the same as a while loop

Explanation by: Admin
do-while ensures the body is executed before checking the condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.