Discussion :: PHP - CS
-
What will be the output of the following php code?
<?php
$num = 1;
$num1 = 2;
print $num . "+". $num1;
?>
Answer : Option B
Explanation :
.(dot) is used to combine two parts of the statement. Example ( $num . “Hello World” ) will output 1Hello World.
Be The First To Comment