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