Q. What will be the output of the following PHP code?
Code:<?php
$x = 10;
$y = 20;
if ($x > $y && 1||1)
print "PHP MCQ" ;
else
print "Welcome to MCQ Buddy";
?>
β
Correct Answer: (C)
PHP MCQ
<?php
$x = 10;
$y = 20;
if ($x > $y && 1||1)
print "PHP MCQ" ;
else
print "Welcome to MCQ Buddy";
?>
You must be Logged in to update hint/solution