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.
You might also like to view...
A JRadioButton is different from a JCheckBox in that .
a. a JRadioButton is a subclass of JToggleButton, JCheckBox is not. b. normally several JRadioButtons are grouped together and are mutually exclusive. c. a JRadioButton is a type of button, JCheckBox is not. d. a JRadioButton is a state button, JCheckBox is not.
Arrays can be declared, instantiated, and initialized in one step. The list of numbers between the braces is called a(n) ____________________ list.
Fill in the blank(s) with the appropriate word(s).
To hide comments, on the Review tab, in the Comments group, click the Show Comments button arrow, and then click Show ____ to deselect it.
A. Comments B. Edits C. Changes D. Markup
Which of the following database models relates, or connects, data in different files through the use of a key, or common data element?
A. hierarchical B. network C. object- oriented D. relational E. offline