What are the two types of comment styles in C++?

What will be an ideal response?


The two types of comment styles in C++ are single line comments which begin with two forward slashes, such as //this is a comment.
The second type of comment is used with multi-lined comments. The format has a /* at the beginning of the comment and a */ at the end of it.

Computer Science & Information Technology

You might also like to view...

The ____ operator is used for concatenating.

A. + B. & C. AND D. OR

Computer Science & Information Technology

All of the information that someone can find out about you by searching the web is called your ________

A) avatar B) folksonomy C) tagged information D) digital footprint

Computer Science & Information Technology

Which of the following separates broadcast domains?

A. Port mirroring B. Router C. Convergence D. Switch

Computer Science & Information Technology

Auction services in which many buyers are bidding for an item offered by a single seller are called forward auctions.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology