Question: Which of the following is used for comments in C++?

Options

A : // comment

B : /* comment */

C : both // comment or /* comment */

D : // comment */

Click to view Correct Answer

Previous || Next

Cplusplus Programming Basics more questions

Which type of files can’t be opened using fopen()?

Which class is used for setting perspective and scroll properties....

How can you set a Cookie visibility scope to local....

Which of the following represents a comment?

What is used to write multi line comment in c++?

Which target directory is used in the file system of....

Which operator is used for accessing a member of namespace?

What will be used when terminating a structure?

Which of the following selector is used to selects the....

Which is not a Mozilla CSS Extension?

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Plus Plus Language Interview Questions Pointers Into Arrays

Cplusplus Language Interview Questions Sequence Algorithms

C Plus Plus Language Interview Questions Void

Cplusplus Programming Abstract Classes 2

Cplusplus Programming Array Type Manipulation

Cplusplus Programming Bitset 1

Cplusplus Programming Bitset 2

Cplusplus Programming Character Classification

Cplusplus Programming Classes 2

C Plus Plus Programming Class Hierarchies