Question: ** Will Give Rating Immediately! ** Question 2 (6 points) Answer all three of these questions: Suppose a function has a parameter named x, and
** Will Give Rating Immediately! **

Question 2 (6 points) Answer all three of these questions: Suppose a function has a parameter named x, and the body of the function changes the value of x. 1. When should x be a value parameter? 2. When should x be a reference parameter? 3. With this function, could x ever be a const reference parameter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
