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

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

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