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

What part of the computer provides the initial instructions to load the operating system into RAM during the startup process?

a. the Arithmetic Logic Unit (ALU) b. a Read-Only Memory (ROM) chip c. an application program d. the registers

Computer Science & Information Technology

Overloaded methods always have the same _________.

a. method name b. return type c. number of parameters d. order of the parameters

Computer Science & Information Technology

Which of the following is true about VM OS installation?

A. the host machine must have a physical CD or DVD drive B. you can install an OS from a .vfd file C. a network installation can only be used when upgrading the OS D. you must install the OS in the New Virtual Machine Wizard

Computer Science & Information Technology

Which one of the following is a microblogging service?

A. Facebook B. Twitter C. LinkedIn D. RSS

Computer Science & Information Technology