Q. What will be the output of the following PHP code ?

Code:
<?php
$t = 20;
do
{
    $t++;
}
while ($t < 60);
print $t;
?>
  • (A) Error
  • (B) 60
  • (C) Nothing
  • (D) 20
πŸ’¬ Discuss
βœ… Correct Answer: (B) 60

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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