?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
for ($x =1; $x < 10;++$x)
{
print "*t";
}
?>
<?php
for ($x =1; $x < 10;++$x)
{
print "*t";
}
?>
Answer & Solution
Correct Answer:
Option
B
Loop runs from 1 to 9 i.e 9 times.
Join the Discussion
Login to post a comment or share your explanation.
Login