1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. The symbol used for a single-line comment in C is:

Added 16 Nov 2026

The symbol used for a single-line comment in C is:

  1. /* */
  2. // Correct answer
  3. #
  4. --

Correct answer

B. //

10 views

MCQSEXAM

Explanation

// starts a single-line comment. /* */ is used for multi-line comments. Comments are ignored by the compiler and are used to explain code.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs