A copy constructor must receive its argument by reference because:

a. Otherwise the constructor will only make a copy of a pointer to an object.
b. Otherwise infinite recursion occurs.
c. The copy of the argument passed by value has function scope.
d. The pointer needs to know the address of the original data, not a temporary copy of it.


b. Otherwise infinite recursion occurs.

Computer Science & Information Technology

You might also like to view...

Most connections are ____ with data traveling faster downstream than upstream.

A. asymmetrical B. symmetrical C. asynchronous D. synchronous

Computer Science & Information Technology

(Find the Minimum) Write a program that inputs three double-precision, floating-point numbers and passes them to a function that returns the smallest number.

What will be an ideal response?

Computer Science & Information Technology

Being able to format a phone number in a field as (412 ) 555-8676 without manually entering the symbols occurs when a(n) ________ has been applied to the field

A) link B) relationship C) input mask D) wizard

Computer Science & Information Technology

To identify a synonym for a selected word, use the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology