Vidyalelo
PHP · Q3

Control Structures(Loop In PHP)

Programming · PHP · question 3

Q3

What will be the output of the following PHP code ?

A.
how are uhello
B.
hihello
Answer
C.
hi
D.
no output

Answer: Option B

Solution

Answer: Option B
Solution:
else condition without brackets performs the following statements only.