Discussion Forum : Php Control Structures (loop)
Question - What will be the output of the following PHP code ?$a = "1";$b = "0";if ((int)$a && $b)print"hi";elseprint "hello";
Options:
A .  hi
B .  error
C .  no output
D .  hello
Answer: Option D

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

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