πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($c = 4; $c < 9; $c++) 
{
    for(; $c < 9; $c++)         
        print"c";
}
?>
  • (A) c
  • (B) cc
  • (C) ccc
  • (D) ccccc
πŸ’¬ Discuss
βœ… Correct Answer: (D) ccccc

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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