Join WhatsApp ChannelDaily MCQs & Exam Updates
Computer Science Medium CSS Uploaded: 13 Aug 2026

Which symbol is used for comments in C++?

  • A //
  • B ##
  • C ::
  • D **
Correct Answer: Option A — //
Explanation:
In C++, double forward slashes (//) are used to denote a single-line comment, which the compiler ignores during execution.
Submitted by: PaperMCQs
Related MCQs