English

Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?

Advertisements

Question

Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?

Options

  • For loop

  • For each loop

  • While loop

  • All of them

MCQ
Advertisements

Solution

All of them.

shaalaa.com
Looping Structure
  Is there an error in this question or solution?
Chapter 7: Looping Structure - Evaluation - PART – I [Page 116]
Advertisements
Share
Notifications



      Forgot password?
Use app×