When an object or structure variable is passed to a function as a constant reference

A) the function accesses the original object, rather than a copy of it.
B) the function cannot make any changes to the member variables.
C) it is more efficient than passing it by value.
D) all of the above are true.
E) A and B are true, but not C.


D) all of the above are true.

Computer Science & Information Technology

You might also like to view...

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

1. The linked list is always the most efficient storage mechanism for storing many pieces of data. 2. A stack is a specialized type of list 3. The stack exhibits last-in/first-out behavior 4. The stack can be compared to a line of people at a bank, where the first person in line is the first person served. 5. If you write a linked list class, then you should implement the destructor, copy constructor, and the assignment operator

Computer Science & Information Technology

A database administrator must ____________ monitor each SQL Server instance to minimize the risk of service disruption.

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

Computer Science & Information Technology

Which one of the following laws or regulations interprets sections of the Communications Decency Act to mean that ISPs are not responsible for malicious software transmitted over their services by hackers?

A. Digital Millennium Copyright Act (1998) B. Gramm-Leach-Bliley Act (1999) C. CAN-SPAM Act (2003) D. Green v. America Online (2003)

Computer Science & Information Technology

In the Skinning window, you can select a video's playback interface, or skin.

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

Computer Science & Information Technology