Vidyalelo
PHP · Q12

Control Structures(Loop In PHP)

Programming · PHP · question 12

Q12

What will be the output of the following PHP code ? y + y != 3) print "hi" ; else print "how are u"; ?>

A.
how are u
B.
hi
Answer
C.
error
D.
no output

Answer: Option B

Solution

Answer: Option B
Solution:
Expression evaluates to true.