S
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($v = 0; $v < 5; $v++)
{
for ($u = $v; $u > 0; $v--)
print $v;
}
?>
for ($v = 0; $v < 5; $v++)
{
for ($u = $v; $u > 0; $v--)
print $v;
}
?>
- Correct Answer - Option(D)
- Views: 20268
- Filed under category PHP
Discusssion
Login to discuss.