MCQs > IT & Programming > PHP 5 > What is the output? function fn(&$var) { $var = $var - ($var/10 * 5); return $var; } echo fn(100);

PHP 5 MCQs

What will be the output of the following code?

function fn(&$var)
{
   $var = $var - ($var/10 * 5);
   return $var;
}
echo fn(100);


Answer

Correct Answer: Error message

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it