nerdexam
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)
  • A
    9% (4)
  • B
    14% (6)
  • C
    74% (32)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice