1.

What will be the output of the following PHP code ?
<?php
function SumFun($number1, $number2)
{
$s = $number1 + $number2;
return $s;
}
$return_val = SumFun(15, 45);
echo "Returned value : " .$return_val
?>

A. Returned value : 60
B. Returned value : 15
C. Returned value : 45
D. Error
E. None of these
Answer» B. Returned value : 15


Discussion

No Comment Found

Related MCQs