adplus-dvertising
frame-decoration

Question

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

a.

For loop

b.

For each loop

c.

While loop

d.

All of them

Posted under PHP

Answer: (c).While loop

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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