Q. What happens if a local variable exists with the same name as the global variable you want to access? (Solved)
1. error
2. the local variable is shadowed
3. undefined behavior
4. the global variable is shadowed
- d. the global variable is shadowed