Gate
Exam
Which data structure in a compiler is used for managing information about variables and their attributes?
(A) Abstract syntax tree
(B) Symbol table
(C) Semantic stack
(D) Parse table
Read Solution (Total 2)
-
- symbol table
- 8 years agoHelpfull: Yes(0) No(0)
- (B) Symbol table
symbol table is the data structure containing record for each identifier with fields for attribute of identifier.All the phases of the compiler can access the symbol table - 7 years agoHelpfull: Yes(0) No(0)
Gate Other Question