Q. What will be the output of the following PHP code?
Code:<?php
$cars = array(
"BMW",
"Mercedes",
"Honda",
);
foreach ($cars as $c)
{
echo "$c ";
}
?>
β
Correct Answer: (A)
BMW Mercedes Honda