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….50 times
Hello….40 times
Hello….45 times

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 loop
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 loopAfter for loopAfter for loop...infinitely

ANSWER DOWNLOAD EXAMIANS APP