

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code ? <?php $x = 1; if ($x == 2) print "hi" ; else if($x = 2) print $x; else print "how are u"; ?> |
A. | Error |
B. | 2 |
C. | Hi |
D. | How are u |
Answer» C. Hi | |