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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
127375
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
82%
Success Rate