Q. What will be the output of the following PHP code ?
Code:<?php
$num = 20;
if (1)
print "First";
else
print "Second";
else
print "Third";
?>
β
Correct Answer: (A)
Error
<?php
$num = 20;
if (1)
print "First";
else
print "Second";
else
print "Third";
?>
You must be Logged in to update hint/solution