πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$k = 15;
while (--$k > 0 && ++$k)
{   
    print $k;
}
?>
  • (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

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