πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($number = 1; $number != 20; $number++)
{
    print $number;
    $number++;
}
?>
  • (A) Nothing
  • (B) Infinite loop
  • (C) Error
  • (D) 1357..........35
πŸ’¬ Discuss
βœ… Correct Answer: (B) Infinite loop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
162
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
88%
Success Rate