To prevent class objects from being copied:

a. Make the overloaded assignment operator private.
b. Make the copy constructor private.
c. Both (a) and (b).
d. None of the above.


c. Both (a) and (b).

Computer Science & Information Technology

You might also like to view...

Which of the following statements are correct for recursion?

a. Recursion is available only in the C and C++ languages. b. Recursion is available in all programming languages. c. Recursion is available in most modern programming languages, including C++. d. Recursion is a preprocessor technique e. Recursion, if used with care can be a useful programming technique.

Computer Science & Information Technology

The ANSI C qualifier in the declaration of an array formal parameter that tells the compiler a function is not intended to modify the array is _________.

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

Computer Science & Information Technology

At most how many keys can be inserted without splitting the root node?

Consider the following B+ tree:

Computer Science & Information Technology

This type of module is stored as a part of the form or report in which it was created.

A. Standard B. Class C. Function D. Sub

Computer Science & Information Technology