Sail E0 Webinar
Question
What will be the output of the following PHP code?$names = array("Sam", "Bob", "Jack");echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . ".".$brother;
Options:
A .  Error
B .  Sam is the brother of Bob and Bob) $brother
C .  Sam is the brother of Bob and Bob)
D .  $brother
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

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

More Questions on This Topic :


Latest Videos

Latest Test Papers