Online GK Series

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

Get Attractive Job

Q.

What is the output of the following program ?

	<?php
	$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