5 votes 5 votes Marcos & prepocessor directive (#define, #include) are handle by which phase of compiler ?? Or it is not input to compiler,it is alredy handled in preprocessor??? Please explain in detail.. Compiler Design compiler-design lexical-analysis + – Harsh Mehta asked Oct 7, 2017 • edited Jun 18, 2022 by Lakshman Bhaiya Harsh Mehta 745 views answer comment Share Follow See 1 comment See all 1 1 comment reply Habibkhan commented Oct 8, 2017 reply Follow Share It is the task of pre - processor to deal with #include , #define directives etc. When we write #include <stdio.h> , it means that the contents of the header file is inserted into our source code where the header file is mentioned in the code before main().. The header file say "stdio.h" means that the all the input output functions' declarations are inserted into our source code as we have no function declaration written by us and hence external to source code, So before going to compiler , preprocessing step is done.. 2 votes 2 votes Please log in or register to add a comment.
Best answer 3 votes 3 votes pre - processor phase Handel this macros and preprocessor directive. Check all phases Bhargav D Dave 6 answered Oct 8, 2017 • selected Oct 8, 2017 by Habibkhan Bhargav D Dave 6 comment Share Follow See all 0 reply Please log in or register to add a comment.