PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x = $x& 0)print $x;elseprint "how are u"; 1 error 0 how are u 1 error 0 how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} error infinite loop no output 10 error infinite loop no output 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 2;if ($a-- - --$a - $a)print "hello";elseprint "hi"; hi hello no output error hi hello no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = -1; $x < 10;--$x) {print $x;} 1234567891011 12345678910 infinite loop 123456789101112 1234567891011 12345678910 infinite loop 123456789101112 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"; After for loopAfter for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely After for loop After for loopAfter for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely After for loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if ($a.length)print $a.length;elseprint "hi"; 5 error hellolength hi 5 error hellolength hi ANSWER DOWNLOAD EXAMIANS APP