Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | PHP Quiz | Set-2 | Question 13

  • Last Updated : 20 Sep, 2021

What is the output of the following code?

    $input1 = "Geeks";
    $iinput1 .= "For";
    echo "$input1";

(A) Geeks
(B) For
(C) GeekfFor
(D) None of the above

Answer: (A)

Explanation: From the code snipets $input1 = “Geeks”; $iinput1 .= “For”; echo “$input1”;The output of given code is Geeks.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!