Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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

  • Last Updated : 20 Sep, 2021

What is the output of the below code snippets?

<?php
while()
{
echo "GeeksForGeeks";
}
?>
(A) Hello World
(B) Infinite loop
(C) no output
(D) Error


Answer: (D)

Explanation: After running the code the error is throwing so the code is not executable.

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!