Vidyalelo
PHP · Q20

Operators And Expressions

Programming · PHP · question 20

Q20

What will be the output of the following PHP code ?

A.
Thiswasabadidea
B.
Thiswasbadidea
Answer
C.
Thiswas a badidea
D.
Thiswas abadidea

Answer: Option B

Solution

Answer: Option B
Solution:
You can use only comma and dot operator to join starings, other characters do not have the same function.