National_Instruments
200-500 · Question #215
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
(35 responses)- A6% (2)
- B3% (1)
- C80% (28)
- D11% (4)
Community Discussion
No community discussion yet for this question.