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 : 30
B .  Returned value from the function : $return_value
C .  Error
D .  Returned value from the function :
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 *