Vidyalelo
PHP · Q73

Control Structures(Loop In PHP)

Programming · PHP · question 73

Q73

What will be the output of the following PHP code ?

A.
24
Answer
B.
134
C.
1234
D.
1

Answer: Option A

Solution

Answer: Option A
Solution:
The order of execution is initialization, check, increment/decrement, check, increment/decrement, check, increment/decrement….so on.