Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. We can use _________ to comment a single line?
    1. /?
    2. //
    3. #
    4. /* */

  2. A.

     Only 2

    B.

     1, 3 and 4

    C.

     2, 3 and 4

    D.

     Both 2 and 4

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    /* */ can also be use to comment just a single line although it is used for paragraphs. // and # are used only for single line comment.


Be The First To Comment