πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$k = 1;
for ($k++; $k == 1; $k = 2)
print "In for loop execute...";
print "After loop executed...\n";
 
?>
  • (A) Error
  • (B) In for loop execute...
  • (C) After loop executed...
  • (D) Nothing
πŸ’¬ Discuss
βœ… Correct Answer: (C) After loop executed...

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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