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