<?php $a = 5;$b = -7;$c =0; $d = ++$a && ++$b || ++$c; print $d;print $a;?>
<?php
$a = 5;$b = -7;$c =0;
$d = ++$a && ++$b || ++$c;
print $d;print $a;
?>
16
06
15
05
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option A
Explanation :
1&&0||1 is evaluated to 1 and the a is also pre incremented to 6.
Be The First To Comment