Discussion Forum : Php Operators And Expressions
Question - What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";}
Options:
A .  5hello5hello5hello5hello5hello…..infinite
B .  error
C .  4hello4hello4hello4hello4hello…..infinite
D .  no output
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 *