Q. What will be the output of the following PHP code ?
Code:<?php
$n = 9;
while (++$n)
{
while (--$n > 0)
print $n;
}
?>
β
Correct Answer: (C)
987654321
<?php
$n = 9;
while (++$n)
{
while (--$n > 0)
print $n;
}
?>
You must be Logged in to update hint/solution