Q. What will be the output of the following PHP code?
Code:
<?php
$x = 10;
$y = 20;
if ($x > $y && 1||1)
print "1000 PHP MCQ" ;
else
print "Welcome to McqBuddy";
?>
β
Correct Answer: (C)
1000 PHP MCQ