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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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