MCQs > IT & Programming > PHP 5 > What will be the output? for ($a = 2, $b = 1; $a <= 6; $b += $a, print $a, $a++); ?>

PHP 5 MCQs

What will be the output of the following PHP 7.1 code?

for ($a = 2, $b = 1; $a <= 6; $b += $a, print $a, $a++);

?>


Answer

Correct Answer:

23456

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