Vidyalelo
PHP · Q12

Operators And Expressions

Programming · PHP · question 12

Q12

What will be the output of the following PHP code ?

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

Answer: Option D

Solution

Answer: Option D
Solution:
The . operator is used to join to strings.