1.

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

A. 7
B. 8
C. 15
D. Error
E. None of these
Answer» D. Error


Discussion

No Comment Found

Related MCQs