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