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] . ".";
Options:
A .  Sam is the brother of Bob and Jack
B .  Error
C .  Sam is the brother of Bob and Bob)
D .  Sam is the brother of Jack and Bob)
Answer: Option C

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