Which is the best C++ comment style to use?

What will be an ideal response?


It is up to the programmer to decide the best style depending on the code he is commenting. The /* */ type is probably better for the beginning of a file to comment a block of information. The // is best for short comments or comments located beside code statements.

Computer Science & Information Technology

You might also like to view...

In digital photography, ____ images are printed for quick reference or to display on the web.

A. default B. thumbnail C. contact D. batch

Computer Science & Information Technology

In the accompanying figure, Item 1 points to the ____ button.

A. Demote B. Collapse C. Promote D. Expand

Computer Science & Information Technology

You log onto facebook and apply your credentials. You then log into other applications that use those same credentials to gain access.

A. Head unit B. Multiple sign on C. SSO D. Synchronization

Computer Science & Information Technology

Text files are saved with a .docx file extension

Indicate whether the statement is true or false

Computer Science & Information Technology