Q:

What will happen in this function call?

0

What will happen in this function call?

<?php
    function calc($price, $tax) 
    {
        $total = $price + $tax;
    }
    $pricetag = 15;
    $taxtag = 3;
    calc($pricetag, $taxtag); 
    ?>

  1. Call By Value
  2. Call By Reference
  3. Default Argument Value
  4. Type Hinting

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Call By Value

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now