PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count != 20;$count++) {print $count;$count++;} 1357…19 13579…21 Infinite 123…….20 1357…19 13579…21 Infinite 123…….20 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i++; $i == 1; $i = 2)print "In for loop ";print "After loop"; After for loop In for loopAfter for loop Infinite loop In for loop After for loop In for loopAfter for loop Infinite loop In for loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";switch($a) {case 1:break;print "hi";case 2:print "hello";break;default:print "hi1";} hihellohi1 no output hihi1 hi1 hihellohi1 no output hihi1 hi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 1; $x < 10; $x++)for ($y = 1; $y < 5; $y++)print "Hello"; Hello….45 times Hello….36 times Hello….40 times Hello….50 times Hello….45 times Hello….36 times Hello….40 times Hello….50 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 0;if ($x == 1)if ($x >= 0)print "true";elseprint "false"; true false no output error true false no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "";if ($a)print "all";ifelseprint "some"; some no output all error some no output all error ANSWER DOWNLOAD EXAMIANS APP