Sail E0 Webinar
Question
What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42);
Options:
A .  0
B .  42
C .  Error
D .  84
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers