Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. What will be the output of the following PHP code ?

    <?php

    $on_e = 1;

    $tw_o = 2;

    $thre_e = 3;

    $fou_r = 4;

    echo $on_e / $tw_o + $thre_e / $fou_r;

    ?>

  2. A.

     0.75

    B.

     0.05

    C.

     1.25

    D.

     Error

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    You can use _ in a variable name.


Be The First To Comment