Question: When an object (such as an array) or structure variable is passed to a function as a constant reference: (Choose all that are correct.) Select

When an object (such as an array) or structure variable is passed to a function as a constant reference: (Choose all that are correct.)

Select one or more:

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.

The original object will be destroied when the function returns.

e.

the function can only change public member variables

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!