πŸ“Š PHP
Q. What will be the output of the following PHP code?
Code:
<?php  
$x = 10; 
  
while ($x < 10) { 
    $x++;
    echo $x, ","; 
} 
?>
  • (A) Infinite loop
  • (B) Error
  • (C) 10, 11,
  • (D) No output
πŸ’¬ Discuss
βœ… Correct Answer: (D) No output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
204
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
88%
Success Rate