Chapter 3: Problem 12
Is it permissible for a local variable in one function to have the same name as a local variable in a different function?
Short Answer
Expert verified
Answer: Yes, it is permissible for local variables in different functions to have the same name as they have a limited scope and are only accessible within their respective functions, thus not causing any conflicts.