A

Admin • 828.03K Points
Coach

Q. Which loop will always execute the block of code at least once?

  • (A) do...while
  • (B) for
  • (C) while
  • (D) foreach
  • Correct Answer - Option(A)
  • Views: 2
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
do...while loop executes the block at least once before checking the condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.