Open In App

UGC-NET | NTA UGC NET 2019 June – II | Question 14

Which data structure is used by the compiler for managing variables and their attributes?
(A) Binary tree
(B) Link lIst
(C) Symbol table
(D) Parse table

Answer: (C)
Explanation: The symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier in a program’s source code is associated with information relating to its declaration or appearance in the source, such as its type, scope level, and sometimes its location.

So the option C is correct.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :