Multiple choice technology programming languages

Which symbol is used to make single line & multiple line comments

  1. \

  2. * comments *\

  3. \ and * comments *\

  4. &&

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The correct answer is C. C uses // for single-line comments and /* */ for multi-line comments. Option A only shows single-line. Option B only shows multi-line. Option D (&&) is the logical AND operator, not a comment syntax.