Vidyalelo
PHP · Q46

Control Structures(Loop In PHP)

Programming · PHP · question 46

Q46

What will be the output of the following PHP code ?

A.
2
B.
3
Answer
C.
0
D.
1

Answer: Option B

Solution

Answer: Option B
Solution:
The increment happens and then the check happens.