1.

What will be the output of the following PHP code ?
<?php
$p = -2;
$q = 2;
$r = $p * $q + $r;
echo $r;
?>

A. Undefined variable
B. Undefined variable: r -4
C. 2
D. -2
E. None of these
Answer» C. 2


Discussion

No Comment Found

Related MCQs