MCQs > IT & Programming > PHP 5 > Output of code? $Rent = 250; function Expenses($Other) { $Rent = 250 + $Other; return $Rent; } Expenses(50); echo $Rent;

PHP 5 MCQs

What will be the output of the following code?

$Rent = 250;
function Expenses($Other)
{
   $Rent = 250 + $Other;
   return $Rent;
}
Expenses(50);
echo $Rent;

Answer

Correct Answer: 250

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