ExamVeda
Login
Home
Control Structures(Loop in PHP)
?

What will be the output of the following PHP code ?
<?php
while()
{
    print "hi";
}
?>

Answer & Solution
Correct Answer: Option D
The while loop cannot be defined without a condition.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.