A compiler complains that there was an attempt to change the value of a data member within a function (when const is correctly used at the end of the function prototype). This is an example of:

A. a picky compiler
B. abstraction
C. a const reference function
D. how const aids in debugging


D

Computer Science & Information Technology

You might also like to view...

A photo's color intensity can be modified by changing the brightness and content.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The no auto-summary command is used with RIPv2 to force the router to advertise actual networks. True or False?

a. True b. False

Computer Science & Information Technology

In a database, the template for a record is referred to as a record ______.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

To change a query so that each item in a multivalued field occurs on a different row, use the ____ property.

A. Field B. Value C. Unique D. Distinct

Computer Science & Information Technology