PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.0)print "hi";elseprint "how are u"; how are u hi error no output how are u hi error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$b = 1;switch(print $b) {case 2:print "hello";break;case 1:print "hi";break;default:print "hi1";} 1hello error 1hi1 1hi 1hello error 1hi1 1hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?do {print "hi";}while(0);print "hello"; infinite loop error hihello hello infinite loop error hihello hello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 97;switch(?$a) {case "a":print "hi";break;case 97:print "hello";break;default:print "hi1";} hihello hi hello hihellohi1 hihello hi hello hihellohi1 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 0 infinite loop 1 -1 0 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 + $y != 3)print "hi";elseprint "how are u"; hi how are u error no output hi how are u error no output ANSWER DOWNLOAD EXAMIANS APP