Vidyalelo
PHP · Q92

Operators And Expressions

Programming · PHP · question 92

Q92

What will be the output of the following PHP code ?

A.
result is true
B.
result is 1
Answer
C.
error
D.
no output

Answer: Option B

Solution

Answer: Option B
Solution:
Result is x&&y which returns 1 if both x and y are true.