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"; no output error hello hi no output error hello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (!print "hi")if (print "hello")print "hi"; hihellohi hihi hi no output hihellohi hihi hi no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;for ($x = -3; $x < -5; ++$x) {print ++$x;} -3-4-5 no output infinite loop -3-4 -3-4-5 no output infinite loop -3-4 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i < 5; $i++) {for(; $i < 5; $i++)print"i";} iiiiiiiiiiiiiiiiiiiiiiiii infinite loop no output iiiii iiiiiiiiiiiiiiiiiiiiiiiii infinite loop no output iiiii ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "2";switch ($a) {case 1:print "hi";case 2:print "hello";break;default:print "hi1";} hello hihi1 hihellohi1 hi1 hello hihi1 hihellohi1 hi1 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"; In for loopAfter for loop In for loop After for loop Infinite loop In for loopAfter for loop In for loop After for loop Infinite loop ANSWER DOWNLOAD EXAMIANS APP