1.

What will be the output of the following PHP code ?
<?php
$p = 6;
$q = 5;
function Res($p = 5, $q = 6)
{
$r = $p+$q/$q+$p;
echo "$r";
}
echo $p;
echo $q;
echo $r;
Res($p, $q);
?>

A. Nothing
B. 6
C. 5
D. 65
E. 6513
Answer» F.


Discussion

No Comment Found

Related MCQs