PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 1; $x < 10; $x++)for ($y = 1; $y < 5; $y++)print "Hello"; Hello….36 times Hello….45 times Hello….50 times Hello….40 times Hello….36 times Hello….45 times Hello….50 times Hello….40 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if (strlen($a))print strlen($a);elseprint "hi"; hi 5 error hellolength hi 5 error hellolength ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 0; $x <= 10; print ++$x) {print ++$x;} infinite loop 1234567891011 123456789101112 12345678910 infinite loop 1234567891011 123456789101112 12345678910 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; 19 20 12345678910….1920 12345678910….19 19 20 12345678910….1920 12345678910….19 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";} hellohellohello hi hihellohihellohihello hihihi hellohellohello hi hihellohihellohihello hihihi 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 true no output error false true no output error ANSWER DOWNLOAD EXAMIANS APP