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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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