Vidyalelo
PHP · Q14

Operators And Expressions

Programming · PHP · question 14

Q14

What will be the output of the following PHP code ?

A.
redgreen
B.
red green
C.
0
Answer
D.
1

Answer: Option C

Solution

Answer: Option C
Solution:
+ does not return 1 if the variables are equal.