1.

What will be the output of the following PHP code ?
<?php
$m = 15;
$n = 8;
$p = fun(15,8);
function fun($m,$n)
{
$n = 7;
return $m - $n + $n - $m;
}
echo $m;
echo $n;
echo $p;
?>

A. Error
B. 18
C. 8
D. 1580
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs