<?phpfunction calc($num1, $num2){ $total = $num1 * $num2; return $total; }$result = calc(42, 0);echo $result; ?>
<?php
function calc($num1, $num2)
{
$total = $num1 * $num2;
return $total;
}
$result = calc(42, 0);
echo $result;
?>
Error
0
42
84
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option B
Explanation :
Function returns $total.
Be The First To Comment