A
Q. What will be the output of the following PHP code ?
Code:
<?php
for($g = 0; $g < 15; $g++)
{
for($h = $g; $h > $g; $g--)
print $g;
}
?>
for($g = 0; $g < 15; $g++)
{
for($h = $g; $h > $g; $g--)
print $g;
}
?>
- Correct Answer - Option(A)
- Views: 12
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.