πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($d = 0; -7 ; $d++)
{
    print"d";
    if ($d == 4)
        break;
}
?>
  • (A) d
  • (B) dd
  • (C) ddd
  • (D) ddddd
πŸ’¬ Discuss
βœ… Correct Answer: (D) ddddd

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
80393
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
87%
Success Rate