Online GK Series

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

Connect with Universities & Study Abroad Experts Instantly Connect Now

Q.

What is the output of the given function ?

	<? php
	function invite (&$students)
	{
		$students = 'Learn Computer Engineering';
	}
	$vst = 'Visit gkseries.com and';
	invite($vst);
	echo $vst;
	?>
          
A Learn Computer Engineering
B Visit gkseries.com and
C visit gkseries.com and Learn Computer Engineering
D Learn Computer Engineering visit gkseries.com and
Answer & Explanation
Option: [C]

Your Valuable Comments Please...

Useful Computer Science EBooks