Programming - PHP - Discussion

You Are Here :: Home > Programming > PHP - Discussion

 



Q.

What will be the output of the following code? $Rent = 250; function Expenses($Other) { $Rent = 250 + $Other; return $Rent; } Expenses(50); echo $Rent;  .                          


A. 300 B. 250
C. 200 D. Program will not compile

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion