Multiple Choice Moderate

QWhich statement is used to exit from a loop?

ID: #24869 Control flow in programming 8 views
Question Info
#24869Q ID
ModerateDifficulty
Control flow in programmingTopic

Select All That Apply

Tick every correct option, then press Check Answer.

  • A break
  • B continue
  • C return
  • D exit
Correct Answer

Explanation

Correct Answer:

(a) break

Explanation:

break immediately terminates the loop.

Share This Question

Challenge a friend or share with your study group.