MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code? <?php $names = array("Sam", "Bob", "Jack"); echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . ".".$brother; ?> |
| A. | Sam is the brother of Bob and Bob) $brother |
| B. | Sam is the brother of Bob and Bob) |
| C. | $brother |
| D. | Error |
| Answer» E. | |