S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which keyword is used to break out of a loop?

  • (A) exit
  • (B) stop
  • (C) return
  • (D) break
  • Correct Answer - Option(D)
  • Views: 11
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
break is used to exit a loop.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.