Q. Which of the following is used to comment a single line in C?

  • (A) //
  • (B) /* */
  • (C) #
  • (D) --
πŸ’¬ Discuss
βœ… Correct Answer: (A) //
Explanation: // is used for single-line comments in C (from C99 onwards).
Explanation by: Mr. Dubey
// is used for single-line comments in C (from C99 onwards).

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
74
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate