πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($z = 0; $z < 20; $z++)
{
    print "MCQ";
    break;
    print "Buddy";
}
?>
  • (A) MCQ 20 times
  • (B) MCQ
  • (C) Buddy
  • (D) Buddy 20 times
πŸ’¬ Discuss
βœ… Correct Answer: (C) Buddy

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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