πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$num1 = 25;
$num2 = 27;
if ($num1 > $num2 && 1||1)
    print "Jitendra" ;
else
    print "Majumdar";
?>
  • (A) Majumdar
  • (B) 25
  • (C) Jitendra
  • (D) 27
πŸ’¬ Discuss
βœ… Correct Answer: (C) Jitendra

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
181
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jitendra Singh
Publisher
πŸ“ˆ
99%
Success Rate