UGC NET CS 2019Theory of Computation and Compilers › Run Time SystemVerified
UGC NET CS 2019 PYQ: Which data structure is used by the compiler for managing variables and their attributes?
Which data structure is used by the compiler for managing variables and their attributes?
- ABinary tree
- BLink list
- CSymbol tableCorrect answer
- DParse table
Answer
(C) Symbol table
Approach
Recall the compiler component that stores identifiers along with their type, scope and other attributes.
Reviewed by UGC IQ Editorial Team.