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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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