πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 9;
while (++$n)
{   
    while (--$n > 0)
        print $n;
}
?>
  • (A) Error
  • (B) 9
  • (C) 987654321
  • (D) Nothing
πŸ’¬ Discuss
βœ… Correct Answer: (C) 987654321

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148002
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
82%
Success Rate