ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$cars = array("Volvo", "BMW", "Toyota");
print $cars[2];
?>

Answer & Solution
Correct Answer: Option C
Print statement can be used to output a specific array member.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.