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...

A(n) ________ can be line art, a cartoon drawing, a picture, or a photograph

Fill in the blank(s) with correct word

Computer Science & Information Technology

Explain what the letters in I-P-O stand for.

What will be an ideal response?

Computer Science & Information Technology