Vidyalelo
PHP · Q39

Control Structures(Loop In PHP)

Programming · PHP · question 39

Q39

What will be the output of the following PHP code ?

A.
error
Answer
B.
hi
C.
hihello
D.
hello

Answer: Option A

Solution

Answer: Option A
Solution:
Constants cannot be used in switch cases.