Multiple choice technology programming languages

Which of the below symbol is used to make comments in C language?

  1. //

  2. #

  3. !!

  4. <!--

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

In C language, // is used for single-line comments. Multi-line comments use /* ... */. # is for preprocessor directives, !! is not a comment operator, and

AI explanation

In C, comments are written using // for a single line or /* ... */ for multi-line blocks; the compiler strips these before compilation. The # symbol is unrelated to comments — it marks preprocessor directives such as #include or #define, which are processed before compilation, not human-readable notes. So // is the correct comment symbol, not #.