Which data structure is used by the compiler for managing variables and their attributes?
A compiler stores information about variables, functions, identifiers and their attributes in a symbol table.
Attributes may include name, type, scope, address and value.
Therefore, the data structure used for managing variables and their attributes is symbol table.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.