"> What will be the output of the following PHP code ?<?phpif

Home » PHP » PHP If Else/Else If Statement » Question
  1. What will be the output of the following PHP code ?
    <?php
    if (-200)
    print "Mania" ;
    else
    print "Interview";
    ?>
    1. -200
    2. 0
    3. 1
    4. Mania
    5. Interview
Correct Option: D

Expression evaluates to true.



Your comments will be displayed only after manual approval.