Question: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
+ Report
Total Preview: 2301

Copyright © 2024. Powered by Intellect Software Ltd