Discussion Forum : Php Control Structures (loop)
Question - What will be the output of the following PHP code ?$x = 1;if ($x == 2)print "hi";else if($x = 2)print $x;elseprint "how are u";
Options:
A .  how are u
B .  hi
C .  2
D .  error
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *