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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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