AMA University Answers
Login
Register
AMA OED
Courses
IT
IT-6314
What will be the output of the...
What will be the output of the following PHP code ? <?php for($i++;$i==1;$i=2) print"In for loop "; print"After loop\n"; ?>
In for loopAfter for loop
Correct
Similar IT-6314 questions
What will be the output of the following PHP code ? <?php for($x=-1;$x<10;--$x) { print$x; } ?>
What will be the output of the following PHP code ? <?php $colors=array("red","green","blue","yellow...
What will be the output of the following PHP code ? <?php for(1;$i==1;$i=2) print"In for loop "; pri...
What will be the output of the following PHP code ? <?php $x; for($x=-3;$x<-5;++$x) { print++$x; } ?...
What will be the output of the following PHP code ? <?php for($x=1;$x<10;++$x) { print"*\t"; } ?>
What will be the output of the following PHP code ? < ?php $i = 0; for ($i) { print$i; } ? >