Online GK Series

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

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

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand