-
What will be the output of the following PHP code?
<?php
$Student = array("Ajit", "Rahul", "Ats");
echo $names[0] . "is the friend of " . $names[1] . " and " . $names[1] . ".".$friend;
?>
-
- Error
- Ajit is the friend of Rahul and Ats.
- Nothing
- Ajit Rahul Ats
- None of these
Correct Option: A
$brother undeclared.