Discussion Forum : Php Control Structures (loop)
Question - What will be the output of the following PHP code ?$x = 1;if ($x--)print "hi"$x--;elseprint "hello"
Options:
A .  no output
B .  hi
C .  error
D .  hello
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 *