If a certain object’s data members need to be frequently modified by const functions, it is best to:

a. Declare the member values non-const.
b. Declare the member values mutable.
c. Use const_cast to make the member values modifiable.
d. Use static_cast to make the member values modifiable.

b. Declare the member values mutable.

Computer Science & Information Technology

You might also like to view...

In a typical NOS environment, a user who wants to run a local process at a remote site must first ____.

A. log on to the local network B. instruct the local system to migrate the process or data to the remote site C. send a request to the remote site to schedule the process on its system D. log on to the NOS

Computer Science & Information Technology

What computer system was the first to run the UNIX operating system??

A. ?Apple II B. ?DEC PDP-7 C. Sun ?SPARC D. ?IBM 5150

Computer Science & Information Technology