Q. What will be the output of the following PHP code?
Code:<?php
$str;
if ($str)
print "Hello" ;
else
print "MCQ Buddy";
?>
β
Correct Answer: (B)
MCQ Buddy
<?php
$str;
if ($str)
print "Hello" ;
else
print "MCQ Buddy";
?>
You must be Logged in to update hint/solution