Discussion
The attribute value carried with an identifier token is usually
Answer: D
Correct answer: a pointer to the symbol table entry for that identifier
The token itself carries only the category id, which is all the parser needs, and the attribute carries a pointer to the symbol table entry where the name, type, scope and everything else about the identifier is recorded. Storing the value or the address in the token would be impossible at this stage, since neither has yet been determined.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development