Q85
What will be the output of the following PHP code ?
A.
no output
B.
true 23
AnswerC.
true 22
D.
true 33
Answer: Option B
Solution
Answer: Option B
Solution:
x is preincremented and y is post incremented thus both are 2 in the if condition, later y is incremented.