What will be the output of the following PHP code ?
<?php
if (print "0")
print "hi" ;
else
print "how are u";
?>
<?php
if (print "0")
print "hi" ;
else
print "how are u";
?>A. 0how are u
B. 0hi
C. hi
D. how are u
Answer: Option B

Join The Discussion