Vidyalelo
PHP · Q18

Control Structures(Loop In PHP)

Programming · PHP · question 18

Q18

What will be the output of the following PHP code ?

A.
0how are u
B.
0hi
Answer
C.
hi
D.
how are u

Answer: Option B

Solution

Answer: Option B
Solution:
Expression evaluates to true as print returns 1.