Sail E0 Webinar
Question
What is the value of $a and $b after the function call?function doSomething( &$arg ) {$return = $arg;$arg += 1;return $return;}$a = 3;$b = doSomething( $a );
Options:
A .  a is 3 and b is 4
B .  a is 4 and b is 3
C .  Both are 4
D .  Both are 3
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers