MCQ Single Best Answer Moderate

QWhich statement is used to exit from a loop?

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

Choose the Best Option

Click any option to instantly check if you're correct.

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

Explanation

Correct Answer:

(a) break

Explanation:

break immediately terminates the loop.

Share This Question

Challenge a friend or share with your study group.