Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET


What is the output of the following program ?

	$str = "Learn PHP and \c";
	echo $str;
A Fatal error
B Compilation error
C Learn PHP and \c
D prints 15
Answer & Explanation
Option: [C]

Unknown escape sequence \c is ignored

Your Valuable Comments Please...

Useful Computer Science EBooks