Question: What will be the output of the following code?
Function fn(&$var)
{
$var=$var-($var/10*5);
Return $var;
}
Echo fn(100);
A
B
C
D
E
100
B
50
C
98
D
Eror Message
E
None
Note: Not available
Function fn(&$var)
{
$var=$var-($var/10*5);
Return $var;
}
Echo fn(100);
A. 023
B. X23
Choose the correct options:
$var=10;
Function Fn()
{
$var=20;
Return $var;
}
Fn();
Echo $var;