function fn (&$var)
{
$var = $var - ($var/10*5);
return $var;
}
echo fn(100);
a. 100
b. 50
c. 98
d. Error message
e. None of the above
{
$var = $var - ($var/10*5);
return $var;
}
echo fn(100);
a. 100
b. 50
c. 98
d. Error message
e. None of the above
0 comments:
Post a Comment