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)- A2% (1)
- B11% (7)
- C83% (54)
- D5% (3)
Community Discussion
No community discussion yet for this question.