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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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