Zend
200-530 · Question #482
Consider the following code: <?php $a=5; $b=12; $c=10; $d=7; $e=($a$b)+$c$d/$a; print($e); }?> What will be the output of the above code?
The correct answer is C. 74. See the full explanation below for the reasoning.
Question
Consider the following code: <?php $a=5; $b=12; $c=10; $d=7; $e=($a*$b)+$c*$d/$a; print($e); }?> What will be the output of the above code?
Options
- A154
- B130
- C74
- D26
How the community answered
(43 responses)- A9% (4)
- B14% (6)
- C74% (32)
- D2% (1)
Community Discussion
No community discussion yet for this question.