Q96
What will be the output of the following PHP code ? 0 && ++ i) print i;
A.
5
B.
555555555…infinitely
AnswerC.
54321
D.
error
Answer: Option B
Solution
Answer: Option B
Solution:
As it is && operator it is being incremented and decremented continuously.