A
Q. What will be the output of the following PHP code ?
Code:
<?php
$str1 = "Hello ";
$str2 = "MCQ";
$str3 = "Buddy";
$str1 .= $str2 .= $str3 ;
echo $str1;
echo $str2;
?>
$str1 = "Hello ";
$str2 = "MCQ";
$str3 = "Buddy";
$str1 .= $str2 .= $str3 ;
echo $str1;
echo $str2;
?>
- Correct Answer - Option(C)
- Views: 17
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.