Question: ** Will Give Rating Immediately! ** When should a pointer parameter p be a reference parameter? Question 5 options: A When the function changes p,
** Will Give Rating Immediately! **
When should a pointer parameter p be a reference parameter?
Question 5 options:
| A | When the function changes p, and you want the change to affect the actual pointer argument. |
| B | When the function changes p, and you do NOT want the change to affect the actual pointer argument. |
| C | When the function changes *p, and you want the change to affect the the object that is pointed at. |
| D | When the function changes *p, and you do NOT want the change to affect the the object that is pointed at. |
| E | When the pointer points to a large object. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
