Examveda
Examveda

What will be the output of the following PHP code ?
<?php
$one = "Hello";
$two = "World";
echo $one, $two;
?>

A. Hello World

B. Hello

C. World

D. HelloWorld

Answer: Option D

Solution(By Examveda Team)

Echo can print two variables which are seperated by a comma.

This Question Belongs to PHP >> Operators And Expressions In Php

Join The Discussion

Related Questions on Operators and Expressions in php