Page 1 of 1

What happens if a local variable exists with the same name as the global variable you want to access?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) Error
b) The local variable is shadowed
c) Undefined behavior
d) The global variable is shadowed