"/>
<?php$x = 0;if ($x++) print "hi";else print "how are u";?>
<?php
$x = 0;
if ($x++)
print "hi";
else
print "how are u";
?>
hi
no output
error
how are u
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option D
Explanation :
x is incremented after if which evaluates to false.
Be The First To Comment