PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count != 20;$count++) {print $count;$count++;} 13579…21 Infinite 1357…19 123…….20 13579…21 Infinite 1357…19 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"; Infinite loop In for loop In for loopAfter for loop After for loop Infinite loop In for loop In for loopAfter for loop After for loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if ($a--)print "True";if ($a++)print "False"; no output true false error no output true false error 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 1hi 1hi1 error 1hello 1hi 1hi1 error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count<3;$count++); {print "hi";break;print "hello";} hi hellohellohello hihihi hihellohihellohihello hi hellohellohello hihihi hihellohihellohihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;if ($x == 0)print "hi";elseprint "how are u";print "hello" no output hi how are uhello hihello no output hi how are uhello hihello ANSWER DOWNLOAD EXAMIANS APP