πŸ“Š PHP
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";
?>
  • (A) no output
  • (B) Welcome to MCQ Buddy
  • (C) PHP MCQ
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (C) PHP MCQ

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
205
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ravi Chauhan
Publisher
πŸ“ˆ
88%
Success Rate