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.


b. The “outer” variable is hidden while the “inner” variable is in scope

Computer Science & Information Technology

You might also like to view...

Each event procedure in a class module is a ____ procedure.

A. local B. public C. global D. standard

Computer Science & Information Technology

A dynamic stack has a ________ size, and is implemented as a(n) ________.

A) variable, linked list B) fixed, linked list C) variable, array D) fixed, array E) None of the above

Computer Science & Information Technology

The first step to resizing a column in datasheet view is to move the pointer until it looks like a ________

A) thick green line and then click B) two-headed arrow and then click C) four-headed arrow and then click D) thick black line and then click

Computer Science & Information Technology

The rate in a PMT function is:

A) the rate of present value of a loan. B) a word or a string of characters that represent one or more cells. C) the periodic interest rate, such as a monthly interest rate. D) the total number of payment rate periods.

Computer Science & Information Technology