nerdexam
CIW

1D0-437 · Question #6

Consider the following program code: $x - 0; $y = 5; do { print ("$x $y "); ) while (++$x < 5 && ++$y < 10); print ("$x $y "); What is the result of executing this program code?

The correct answer is D. The code will output the following. See the full explanation below for the reasoning.

Question

Consider the following program code:

$x - 0; $y = 5; do { print ("$x $y "); ) while (++$x < 5 && ++$y < 10); print ("$x $y "); What is the result of executing this program code?

Options

  • AThe code will output the following
  • BThe code will output the following
  • CThe code will output the following
  • DThe code will output the following

How the community answered

(54 responses)
  • A
    4% (2)
  • B
    7% (4)
  • C
    4% (2)
  • D
    85% (46)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice