nerdexam
Zend

200-530 · Question #231

What is the content of $c after the following code has executed? $a = 2; $b = 3; $c = ($a++ * ++$b);

The correct answer is C. 8. See the full explanation below for the reasoning.

Question

What is the content of $c after the following code has executed? $a = 2; $b = 3; $c = ($a++ * ++$b);

Options

  • A0
  • B5
  • C8
  • D4

How the community answered

(65 responses)
  • A
    2% (1)
  • B
    11% (7)
  • C
    83% (54)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice