What will be the result of executing following code?
function a(&$n) {
  ++$n;
}
function b($n)
{
  return ( a($n) * $n );
}
function c($n){
  a($n);
  return ($n * $n);
}

echo b(5);
echo c(5);
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes