Vidyalelo
PHP · Q41

Control Structures(Loop In PHP)

Programming · PHP · question 41

Q41

What will be the output of the following PHP code ?

A.
hello
B.
hi
C.
no output
Answer
D.
error

Answer: Option C

Solution

Answer: Option C
Solution:
If that case does not exist then it searches for default and on not finding it does nothing.