nerdexam
Zend

200-530 · Question #429

Zend 200-530 Exam Consider the following code: <?php function modvalue() { $a=20; $b=4; $c=$a%$b; print($c); } ?> What will be the value of variable c?

The correct answer is D. 0. See the full explanation below for the reasoning.

Question

Zend 200-530 Exam Consider the following code: <?php function modvalue() { $a=20; $b=4; $c=$a%$b; print($c); } ?> What will be the value of variable c?

Options

  • A4
  • B5
  • C20
  • D0

How the community answered

(29 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    14% (4)
  • D
    72% (21)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice