Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code ?
    <?php
    function calculation($n1, $n2)
    {
    $n3 = $n1 * $n2;
    }
    $R = calculation(12, 25);
    echo $R;
    ?>
    1. 12
    2. 25
    3. Error
    4. 37
    5. None of these
Correct Option: C

Function does not return anything.



Your comments will be displayed only after manual approval.