Which of the following is used for comments in C++?
A. // comment
B. /* comment */
C. both // comment or /* comment */
D. // comment */
Answer: Option C
Related Questions on Introduction to C plus plus
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream

Join The Discussion