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
Get step-by-step solutions from verified subject matter experts
