1.

What will be the output of the following PHP code ?
<?php
$num = 120;
function calc()
{
echo $num;
}
calc();
?>

A. Nothing
B. 120
C. Error
D. 20
E. None of these
Answer» B. 120


Discussion

No Comment Found

Related MCQs