Exam4Training

What is the output of the following code?

What is the output of the following code?

echo ‘1’ . (print ‘2’) + 3;
A . 123
B . 213
C . 142
D . 214
E: Syntax error

Answer: D

Exit mobile version