Q. What will be the output of the following PHP code ?
Code:
<?php $m = 10; $n = -8; $t = 2; $k = ++$m && ++$n || ++$t; echo $k; echo $m; ?>
β
Correct Answer: (C)
111
<?php $m = 10; $n = -8; $t = 2; $k = ++$m && ++$n || ++$t; echo $k; echo $m; ?>
You must be Logged in to update hint/solution