Q. What will be the output of the following PHP code ?
Code:<?php
$num = 1;
if ($num--)
print "False";
if ($num++)
print "True";
?>
β
Correct Answer: (C)
True
<?php
$num = 1;
if ($num--)
print "False";
if ($num++)
print "True";
?>
You must be Logged in to update hint/solution