Which PHP syntax begins a comment that continues only to the end of the…

PYQ Bihar STET 2023Modified — slightly modified from the official paper; see the solution

Which PHP syntax begins a comment that continues only to the end of the current line?

  1. A.

    // This is a comment @

  2. B.

    /* This is a comment */

  3. C.

    <!-- This is a comment -->

  4. D.

    ** This is a comment **

Attempted by 198 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bihar Stet Computer Science Complete Course

Loading lesson…