Computer Science, asked by arjunshrivastavking, 8 months ago

2. What abandons the current iteration of the loop?
i.Continue
ii. Break
iii. Stop
iv. Infinite​

Answers

Answered by Agastya0606
2

Answer:

For the given question, Break is the correct option.

Explanation:

  • A break can appear in both switch and loop statements.
  • A break cause the switch or loop statements to terminate the moment, is executed.
  • Loop or switch ends abruptly when a break is encountered.

example :

while(a)

{ while (b)

{ if ( b == 10 )

break; }

} // break will bring us here.

Answered by BiscuitBobby
7

Answer:

a)continue

Explanation:

The continue statement abandons the current iteration of the loop and goes back to the beginning of the loop.

Not to be confused with the break statement which skips the loop all together.

Similar questions