Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. When a parameter is passed call by value, what functions are guaranteed to be

ID: 3757773 • Letter: 1

Question

1. When a parameter is passed call by value, what functions are guaranteed to be called?

a. zero-parameter constructor
b. copy constructor

c. destructor

d. operator=

e. two or more of the above

2. A constant member function means that:

a. All of the parameters are constant

b. The object being acted upon is a constant

c. The parameters are not passed using call by value

d. The result of the function call cannot be assigned to
e. none of the above

3. Initializer lists are used in:

a. assignment operators
b. all member functions
c. constructors

d. destructors

e. friend functions

Explanation / Answer

copy constructor

none of the above

assignment operators