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";
?>
β
Correct Answer: (A)
6