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.
Correct Answer:
Verified
Q13: A destructor is a member function that
A)is
Q15: When a constructor does not require that
Q16: An object is a(n)_ of a class.
A)member
B)instance
C)example
D)copy
E)attribute
Q17: A structure variable is similar to a
Q19: If Square is the name of a
Q20: A constructor must have the same name
Q21: If employee is an instance of a
Q22: If setRadius is a Circle class function
Q23: member function may be called by a
Q30: If setSide is a Square class function
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents