All mock tests are FREE till 31 December — register to save your progress

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

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Symbol table

Explanation

The compiler stores identifiers and their attributes in the symbol table.

More Theory of Computation and Compilers questions