?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$a = "$winner";
$b = "$looser";
echo $a, $b;
?>
<?php
$a = "$winner";
$b = "$looser";
echo $a, $b;
?>
Answer & Solution
Correct Answer:
Option
C
Since two backslashes are used together, a single backslash is printed on the screen and as $looser is not initialised only single backslash is printed.
Join the Discussion
Login to post a comment or share your explanation.
Login