Discussion
The preprocessor is responsible for
Answer: B
Correct answer: macro expansion and the inclusion of other source files
The preprocessor works on text before the compiler sees anything, expanding macros, including named files and evaluating conditional compilation directives. Its output is a modified source program.
Because it operates on text rather than on syntax, it knows nothing of types or scopes, which is the source of the classic macro pitfalls. Translation to machine code belongs to the compiler and assembler, resolving external references to the linker, and loading into memory to the loader.
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