?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
for ($count = 1; $count != 20;$count++)
{
print $count;
$count++;
}
?>
<?php
for ($count = 1; $count != 20;$count++)
{
print $count;
$count++;
}
?>
Answer & Solution
Correct Answer:
Option
A
Condition always fails as count takes only odd numbers.
Join the Discussion
Login to post a comment or share your explanation.
Login