nerdexam
Zend

200-550 · Question #201

What is the output of the following code? echo '1' . (print '2') + 3;

The correct answer is D. 214. See the full explanation below for the reasoning.

Question

What is the output of the following code? echo '1' . (print '2') + 3;

Options

  • A123
  • B213
  • C142
  • D214
  • ESyntax error

How the community answered

(23 responses)
  • B
    13% (3)
  • C
    4% (1)
  • D
    74% (17)
  • E
    9% (2)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice