Chapter 3: Problem 16
When a parameter is changed, does this affect the argument that was passed into the parameter?
Short Answer
Expert verified
Answer: Changing a parameter inside a function does not affect the original argument that was passed into the parameter. The parameter and the argument are separate variables, and any changes made to the parameter will not be reflected in the argument.