R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which loop executes at least once regardless of condition?

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

Explanation by: Ram Sharma
In `do-while`, the body is executed once before the condition is checked.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.