Question:What will be the output of the following code?

Function fn(&$var)

{

               $var=$var-($var/10*5);

               Return $var;

}

Echo fn(100);

 

A 100 

B 50 

C 98 

D Eror Message 

E None 

+ Answer
+ Report
Total Preview: 1568

Copyright © 2024. Powered by Intellect Software Ltd