Vidyalelo
PHP · Q107

Operators And Expressions

Programming · PHP · question 107

Q107

What will be the output of the following PHP code ?

A.
5
Answer
B.
4
C.
3
D.
error

Answer: Option A

Solution

Answer: Option A
Solution:
Post increment of a is done after expression evaluation.