Vidyalelo
PHP · Q22

Control Structures(Loop In PHP)

Programming · PHP · question 22

Q22

What will be the output of the following PHP code ?

A.
0
B.
1
C.
error
Answer
D.
no output

Answer: Option C

Solution

Answer: Option C
Solution:
break is not defined for a if else ladder.