The code fragment:

Increment::Increment( int c, int i )
: increment ( i )
{
count = c;
}

does not cause any compilation errors. This tells you that:

a. count must be a non-const variable.
b. count must be a const variable.
c. increment must be a non-const variable.
d. increment must be a const variable.

a. count must be a non-const variable.

Computer Science & Information Technology

You might also like to view...

An area chart

A) emphasizes magnitude of changes over time by filling in the space between lines with a color. B) shows a relationship between two variables. C) trends using two dimensions on a continuous curve. D) shows the high, low, and close prices for individual stocks over time.

Computer Science & Information Technology

Which of the following is not an example of an integrity violation?

A) Modifying the appearance of a corporate website B) Intercepting and altering an e-commerce transaction C) Sending improperly formatted data to a networked device, resulting in an unhandled exception error D) Modifying financial records that are stored electronically

Computer Science & Information Technology