Php Objective Questions with Answers for written test exams 64

Question 64
Consider the following piece of code:


$arr = array(3 => “First”, 2=>“Second“, 1=>“Third“);

list (, $result) = $arr;

?>

After running it, the value of $result would be

A. First

B. Second

C. Third

D. This piece of code will not run, but fail with a parse error.
Answers 64


C

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---