1.

What will be the output of the following PHP code ?
<?php
for ($v = 0; $v < 5; $v++)
{
for ($u = $v; $u > 0; $v--)
print $v;
}
?>

A. Error
B. 0-1-2-3-4
C. 0-1-2-2-3-3-4-3-4
D. Infinite loop
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs