Vidyalelo
PHP · Q56

Control Structures(Loop In PHP)

Programming · PHP · question 56

Q56

What will be the output of the following PHP code ?

A.
1234567891011121314….infinitely
B.
01234567891011121314…infinitely
C.
no output
Answer
D.
error

Answer: Option C

Solution

Answer: Option C
Solution:
The first condition itself fails thus the loop exists.