MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz in Php
→
What will be the output of the following PHP code ..
1.
What will be the output of the following PHP code ?
A.
ello
B.
nfinite loop
C.
ihello
D.
rror
Answer» C. ihello
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code ?<?php$a = 1;if ($a--)print "True";if ($a++)print "False";?>
What will be the output of the following PHP code ?<?php$x = 0;if ($x == 1)if ($x >= 0) print "true";else print "false";?>
What will be the output of the following PHP code ?<?php$x;if ($x == 0)print "hi" ;elseprint "how are u";print "hello"?>
What will be the output of the following PHP code ?<?php$x = 0;if ($x++)print "hi";elseprint "how are u";?>
What will be the output of the following PHP code?<?php$x;if ($x)print "hi" ;elseprint "how are u";?>
What will be the output of the following PHP code ?<?php$i = 0;while($i = 10){print "hi";}print "hello";?>
What will be the output of the following PHP code ?<?php$i = ";while ($i){print "hi";}while($i < 8)$i++;print "hello";?>
What will be the output of the following PHP code ?<?php$i = ";while($i){print "hi";}print "hello";?>
What will be the output of the following PHP code ?<?phpspan>$i = 0;while(?++$i || --$i){print $i;}?>
What will be the output of the following PHP code ?<?php$i = 5;while (--$i > 0){$i++; print $i; print "hello";}?>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply