nerdexam
Zend

200-550 · Question #177

What is the output of the following code? echo 0x33, ' monkeys sit on ', 011, ' trees.';

The correct answer is B. 51 monkeys sit on 9 trees. See the full explanation below for the reasoning.

Question

What is the output of the following code? echo 0x33, ' monkeys sit on ', 011, ' trees.';

Options

  • A33 monkeys sit on 11 trees.
  • B51 monkeys sit on 9 trees.
  • Cmonkeys sit on trees.
  • D0x33 monkeys sit on 011 trees.

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    79% (23)
  • C
    10% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice