A
Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 1;
while(++$n || --$n)
{
print $n;
}
?>
$n = 1;
while(++$n || --$n)
{
print $n;
}
?>
- Correct Answer - Option(A)
- Views: 4
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.