nerdexam
Zend

200-530 · Question #451

Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code: <?php $x =25; while($x<10) { $x--; } print ($x); ?> What will be the output when Mark tries to compile…

The correct answer is B. 25. See the full explanation below for the reasoning.

Question

Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code: <?php $x =25; while($x<10) { $x--; } print ($x); ?> What will be the output when Mark tries to compile and execute the code?

Options

  • A10
  • B25
  • CThe script will throw an error message.
  • D0

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    70% (21)
  • C
    3% (1)
  • D
    20% (6)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice