Question

What happens when two blocks, one nested inside of the other, both declare variables with the same identifier? (Assume that the outer block declares its variable before the opening left-brace of the inner block.)
a. A syntax error occurs.
b. The "outer" variable is hidden while the "inner" variable is in scope.
c. The "outer" variable is irretrievably lost when the "inner" variable is declared.
d. The "inner" declaration is ignored and the "outer" variable has scope even inside the inner block.

Answer

This answer is hidden. It contains 61 characters.