1.

What will be the output of the following PHP code ?
<?php
$p = 6; $q = -8; $r = 2;
$s = ++$p && ++$q || ++$r;
echo $s;
echo $p;
?>

A. 17
B. 6
C. -8
D. 2
E. None of these
Answer» B. 6


Discussion

No Comment Found

Related MCQs