What Will Be The Output Of The Following Php Codep Pre Langphp #616
What will be the output of the following PHP code?</p> <pre><code class="language-php" line="1"> <?php for ($x = 1; $x < 10; $x++) for ($y = 1; $y < 5; $y++) print "Hello"; ?> </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 Looping Statements - PHP For Loop - Quiz No.2.
What will be the output of the following PHP code?
<?php 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