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.
i
B.
ello
C.
rror
D.
o output
Answer» D. o output
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