in Compiler Design retagged by
1,637 views
1 vote
1 vote

Which data structure is used by the compiler for managing variables and their attributes?

  1. Binary tree
  2. Link list
  3. Symbol table
  4. Parse table
in Compiler Design retagged by
by
1.6k views

1 comment

edited by
0
0

1 Answer

0 votes
0 votes
Ans (b) Symbol table.

Symbol table is an important data structure created and maintained by compilers in order to store information about the occurrence of various entities such as variable names, function names, objects, classes, interfaces, etc. Symbol table is used by both the analysis and the synthesis parts of a compiler.
Answer:

Related questions