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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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