Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q38: An activation record will be popped off
Q39: A recursive function is a function that:<br>A)
Q40: Functions can:<br>A) Be used as building blocks
Q41: All of the following are reasons to
Q42: [C++11]-Which of the following statements is false?<br>A)
Q43: Which of the following statements creates a
Q44: Which of the following is not included
Q45: The unary scope resolution operator is used:<br>A)
Q46: The function prototype double mySqrt(int x);<br>A) Declares
Q48: In regards to default arguments, which of