a) Error
b) The local variable is shadowed
c) Undefined behavior
d) The global variable is shadowed
What happens if a local variable exists with the same name as the global variable you want to access?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What happens if a local variable exists with the same name as the global variable you want to access?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!