Question: refereance parameter? GhSot hon TA 7. When is it appropriate to use a const reference parameter? ive hort Answers a small example as part of

refereance parameter? GhSot hon TA 7. When is it appropriate to use a const reference parameter? ive hort Answers a small example as part of your answer Section 2.4 Classes and Parameters 8. Suppose a function has a parameter named x, and the body of the function changes the value of x. when should x be a value parameter? when should it be a reference parameter? With this function, could x ever be a const reference parameter? 9. Write one clear sentence telling me when it would be appropriate to use a const reference parameter. 10. Write one clear sentence telling me when it would be appropriate to use a reference parameter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
