Q. What will be the output of the following PHP code ?
Code:
<?php
for ($number = 1; $number != 20; $number++)
{
print $number;
$number++;
}
?>
β
Correct Answer: (B)
Infinite loop