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