Question: When should you use a const reference parameter? Question 12 options: Whenever the data type might be many bytes, and the function does not change

When should you use a const reference parameter?

Question 12 options:

Whenever the data type might be many bytes, and the function does not change the parameter within its body.

Whenever the data type might be many bytes, the function changes the parameter within its body, and you do NOT want these changes to alter the actual argument.

Whenever the data type might be many bytes.

Whenever the data type might be many bytes, the function changes the parameter within its body, and you DO want these changes to alter the actual argument

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!