Discussion Forum : Php Functions
Question - What will be the output of the following PHP code?function addFunction($num1, $num2) {$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : $return_value"
Options:
A .  Returned value from the function : $return_value
B .  Returned value from the function :
C .  Returned value from the function : 30
D .  Error
Answer: Option C

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

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