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...
Which financial function calculates the net present value of an investment, given a fixed discount rate?
A) IPMT B) PV C) NPV D) FV
Computer Science & Information Technology
What kind of data field or method can be used within its own class or in any classes extended from that class, but cannot be used by "outside" classes?
A. protected B. public C. private D. internal
Computer Science & Information Technology