Discussion Forum : Php Functions
Question - What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5);
Options:
A .  1
B .  -0.5
C .  0
D .  0.5
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

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