πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 5;
if ($n++)
    print "Hello World";
else
    print "Hey MCQ Buddy";
?>
  • (A) Hello World
  • (B) Hello MCQ Buddy
  • (C) Error
  • (D) Nothing
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hello World

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
165
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jitendra Singh
Publisher
πŸ“ˆ
88%
Success Rate