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";
?>
β
Correct Answer: (A)
Hello World