A
Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 12;
echo ++$p;
echo $p++;
echo $p;
echo ++$p;
?>
$p = 12;
echo ++$p;
echo $p++;
echo $p;
echo ++$p;
?>
- Correct Answer - Option(D)
- Views: 17
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.