Discussion Forum : Php Arrays
Question - What will be the output of the following PHP code?$cars = array("Volvo", "BMW", "Toyota");echo "I like " . $cars[2] . ", " . $cars[1] . " and " . $cars[0] . ".";
Options:
A .  I like Toyota, BMW and Volvo
B .  I like BMW, Volvo and Toyota
C .  I like Volvo, BMW and Toyota
D .  I like Volvo, Toyota and BMW
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

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