PHP Control Structures (Loop) What will be the output of the following PHP code ?switch($b) {case 2:print "hello";break;case 1:print "hi";break;} hello hi no output error hello hi no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(++$i; ++$i; ++$i) {print $i;if ($i == 4)break;} 1234 134 1 24 1234 134 1 24 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if (echo $a)print "True";elseprint "False"; false no output error true false no output error true ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i == 2; ++$i == $i; ++$i)print "In for loop ";print "After loop"; In for loopIn for loopIn for loopIn for loop...infinitely After for loop After for loopAfter for loopAfter for loop...infinitely In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely After for loop After for loopAfter for loopAfter for loop...infinitely In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely 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;$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 In for loop Infinite loop After for loop In for loopAfter for loop In for loop Infinite loop ANSWER DOWNLOAD EXAMIANS APP