Discussion Forum : Php Control Structures (loop)
Question - What will be the output of the following PHP code ?for ($x = -1; $x < 10;--$x) {print $x;}
Options:
A .  infinite loop
B .  12345678910
C .  123456789101112
D .  1234567891011
Answer: Option A

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

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