Vidyalelo
PHP · Q17

Operators And Expressions

Programming · PHP · question 17

Q17

What will be the output of the following PHP code ?

A.
1grey
Answer
B.
grey
C.
0
D.
red1grey

Answer: Option A

Solution

Answer: Option A
Solution:
+ gives the value 1 and . is used to give join 1 and grey.