Sail E0 Webinar
Question
What will be the output of the following PHP code?$place = array("NYC", "LA", "Paris");array_pop($place);$place1 = array("Paris");$place = array_merge($place, $place1);print_r($place);
Options:
A .  Array ( [0] => NYC [1] => LA [2] => Paris)
B .  Array ( [0] => LA [1] => Paris [2] => Paris )
C .  Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris )
D .  None of the mentioned
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 *

More Questions on This Topic :


Latest Videos

Latest Test Papers