Machine-translated by Google. Questions are authored in English.
Top

Discussion

State whether the following is true or false.
A name declared in an inner block permanently removes the outer declaration from the symbol table.

  • A.False
  • B.True only at large scales
  • C.False only at small scales
  • D.True

Answer: A

The outer entry is hidden rather than deleted, and becomes visible again when the inner block ends. A stacked or chained table implements this restoration naturally. Deleting the outer entry would make the enclosing code fail to compile.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.