PHP Control Structures (Loop) What will be the output of the following PHP code ?for (1; $i == 1; $i = 2)print "In for loop ";print "After loopn"; After for loop In for loop In for loopAfter for loop Infinite loop After for loop In for loop In for loopAfter for loop Infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 10;$y = 20;if ($x > $y && 1||1)print "hi";elseprint "how are u"; no output hi error how are u no output hi error how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;$b = 11;if ($a < ++$a || $b < ++$b)print "hello";elseprint "hi"; hello hi no output error hello hi no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x = $x& 0)print $x;elsebreak; error no output 1 0 error no output 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count < 20; $count++);print $count; 20 12345678910….1920 12345678910….19 19 20 12345678910….1920 12345678910….19 19 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0;$i = -1;$i = 1) {print $i;if ($i != 1)break;} 1 -1 infinite loop 0 1 -1 infinite loop 0 ANSWER DOWNLOAD EXAMIANS APP