Q. What will be the output of the following PHP code ?
Code:
<?php $p = 10; $r = $p++; $q = ++$p; print $p; print $q; ?>
β
Correct Answer: (D)
1212
<?php $p = 10; $r = $p++; $q = ++$p; print $p; print $q; ?>
You must be Logged in to update hint/solution