Q74
What will be the output of the following PHP code ?
A.
0
B.
infinite loop
C.
-1
AnswerD.
1
Answer: Option C
Solution
Answer: Option C
Solution:
The order of execution is initialization, check, increment/decrement, check, increment/decrement, check, increment/decrement….so on .