Q123
What will be the output of the following PHP code ?
A.
3
B.
4
C.
5
D.
error
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
First preincrement is done and the result is a number,thus post increment cannot be performed on it.