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";} hihi1 hihellohi1 hi1 no output hihi1 hihellohi1 hi1 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;} infinite loop -3-4 -3-4-5 no output infinite loop -3-4 -3-4-5 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";switch ($a) {case 1:print "hi";case 2:print "hello";default:print "hi1";} hihellohi1 hi1 hihi1 hi hihellohi1 hi1 hihi1 hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?while() {print "hi";} no output infinite loop hi error no output infinite loop hi error 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"; no output hi error hello no output hi error hello 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….19 12345678910….1920 19 20 12345678910….19 12345678910….1920 19 ANSWER DOWNLOAD EXAMIANS APP