R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which type of loop guarantees at least one execution?

  • (A) for
  • (B) while
  • (C) do-while
  • (D) foreach

Explanation by: Ram Sharma
`do-while` loop executes the body first before checking the condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.