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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48134
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Jitendra Singh
Publisher
πŸ“ˆ
80%
Success Rate