Exit control loop-Quiz Question

Placewit
Jun 7, 2022

--

Which of the following is an exit controlled loop?

A. While Loop

B. For loop

C. Do-while loop

D. None of the above

Correct Option: C

  • An Exit Control Loop checks the condition for exit and if given condition for exit evaluate to true, control will exit from the loop body else control will enter again into the loop.
  • Such type of loop controls exit of the loop that’s why it is called exit control loop.

Thanks for Reading

Placewit grows the best engineers by providing an interactive classroom experience and by helping them develop their skills and get placed in amazing companies.

Learn more at Placewit. Follow us on Instagram and Facebook for daily learning.

--

--

Placewit
Placewit

Written by Placewit

Upskilling students for tech placements!

No responses yet