πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$num = 5;
if ($num == 6)
    print "Jeetu" ;
else if($num = 6)
    print $num;
else
    print "Majumdar";
?>
  • (A) 6
  • (B) 5
  • (C) Jeetu
  • (D) Majumdar
πŸ’¬ Discuss
βœ… Correct Answer: (A) 6

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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