A
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";
?>
$n = 5;
if ($n++)
print "Hello World";
else
print "Hey MCQ Buddy";
?>
- Correct Answer - Option(A)
- Views: 17
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.