Question: What is the purpose of a symbol table in a compiler?
Options:
Correct Answer: To keep track of variable names and types
Solution:
The symbol table is used to keep track of variable names, types, and other attributes during the compilation process.