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