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

Discussion

The local declarations of a procedure are usually kept in

  • A.the activation record created at run time for each call
  • B.the object file produced by the compiler for the module
  • C.a separate table pointed to from the procedure's entry
  • D.the same flat table as every other name in the program

Answer: C

Nesting the tables mirrors the nesting of scopes in the source. Discarding or unlinking the local table on leaving the procedure restores the enclosing visibility. The table itself is often retained for the benefit of a debugger.

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

Post your comment

Please log in or register to post a comment.