A
Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 10;
while (--$p > 0)
{
$p++;
print $p;
print "INDIA";
}
?>
$p = 10;
while (--$p > 0)
{
$p++;
print $p;
print "INDIA";
}
?>
- Correct Answer - Option(D)
- Views: 7
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.