1.

What will be the output of the following PHP code ?
<?php
$m = 10; $n = -8; $t = 2;
$k = ++$m && ++$n || ++$t;
echo $k;
echo $m;
?>

A. 10
B. -8
C. 111
D. 2
E. None of these
Answer» D. 2


Discussion

No Comment Found

Related MCQs