MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz
→
What will be the output of the following PHP code...
1.
What will be the output of the following PHP code ?<?phpecho $t-- != ++$t;?>
A.
0
B.
1
C.
true
D.
false
E.
None of these
Answer» C. true
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code ?<?php$str = 'view ';print "Inter{$str}Mania";?>
What will be the output of the following PHP code ?<?php$v = 'Mania';echo "Inter$view";?>
What will be the output of the following PHP code ?<?php$str = 'view';echo 'Inter{$str}Mania';?>
What will be the output of the following PHP code ?<?php$str = 'view';print "Inter".$str."Mania";?>
What will be the output of the following PHP code ?<?php$num = '8' ;print + + $num;?>
What will be the output of the following PHP code ?<?php$n = 15;while (--$n > 0 && ++$n){ print $n;}?>
What will be the output of the following PHP code ?<?php$num = 8;while (--$num > 0 || ++$num){ print $num;}?>
What will be the output of the following PHP code ?<?php$k = 10;while (--$k > 0){ $k++; print $k; print "Interview Mania";}?>
What will be the output of the following PHP code ?<?php$n = "";while ($n = 20){ print "Interview";}print "Mania";?>
What will be the output of the following PHP code ?<?php$k = 0;while ($k = 20){ print "Interview";}print "Mania";?>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies