Q. What does the `break` statement do inside loops?

  • (A) Exits the loop immediately
  • (B) Skips current iteration
  • (C) Exits the current function
  • (D) Pauses the loop
πŸ’¬ Discuss
βœ… Correct Answer: (A) Exits the loop immediately
Explanation: `break` stops the loop and exits it.
Explanation by: Mr. Dubey
`break` stops the loop and exits it.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
126
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate