Chapter 3: Problem 15
What is a parameter variable’s scope?
Short Answer
Expert verified
Answer: The scope of a parameter variable in a function is limited to the function or block of code in which it is defined. It can only be accessed or modified within the function it is a part of, and once the function execution is completed, the parameter variable is destroyed and cannot be accessed outside the function.