1.

What will happen in this function call?
<?php
function calc($num, $num1)
{
$sum = $num + $num1;
echo $sum;
}
$n = 20;
$n1 = 10;
calc($n, $n1);
?>

A. Call By Reference
B. Type Hinting
C. Call By Value
D. Default Argument Value
E. None of these
Answer» D. Default Argument Value


Discussion

No Comment Found

Related MCQs