Home » PHP » PHP Operators » Question
  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;
    ?>
    1. 10
    2. -8
    3. 111
    4. 2
    5. None of these
Correct Option: C

111



Your comments will be displayed only after manual approval.