1.

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

A. 6511
B. 611
C. Nothing
D. Error
E. None of these
Answer» B. 611


Discussion

No Comment Found

Related MCQs