PHP Control Structures (Loop) What will be the output of the following PHP code?$x;if ($x)print "hi";elseprint "how are u"; error how are u no output hi error how are u no output hi 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";} hihi1 hello hihellohi1 hi1 hihi1 hello hihellohi1 hi1 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"; error no output false true error no output false true ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?while() {print "hi";} hi no output infinite loop error hi no output infinite loop error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;do {$i++;}while ($i < 3);print $i; 0 2 3 1 0 2 3 1 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; 12345678910….19 19 20 12345678910….1920 12345678910….19 19 20 12345678910….1920 ANSWER DOWNLOAD EXAMIANS APP