Question:medium

What does the \texttt{break statement do in a loop?}

Show Hint

The \texttt{break} statement is used in loops to terminate the loop immediately and continue execution after the loop.
  • Skips the current iteration
  • Exits the loop
  • Continues to the next iteration
  • Stops the function
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0