Home / Programming MCQs / PHP MCQs / Question

S

Sandeep • 6.42K Points
Tutor III

Q. What will be the output of the following PHP code ?

Code:
<?php
$name1= Ajit;
$name2= Rahul;
echo "$name1"."$name2";
?>
(A) Ajit
(B) Rahul
(C) AjitRahul
(D) Error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.