php and looping

MCQsQuestion.com has 1 Question/Answers about Topic php and looping

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

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
  • Correct Answer: Option C