Vidyalelo
PHP · Q66

Control Structures(Loop In PHP)

Programming · PHP · question 66

Q66

What will be the output of the following PHP code ?

A.
In for loop
B.
After for loop
Answer
C.
In for loopAfter for loop
D.
Infinite loop

Answer: Option B

Solution

Answer: Option B
Solution:
The loop does not run as i initialized in check statement will be zero.