1 votes 1 votes 1. macros are not considered as tokens in tokenizing. 2.#include considered as single token 2.stdio.h considered as single token. Are the above statements true? Compiler Design compiler-design lexical-analysis compiler-tokenization true-false + – ankit_thawal asked Feb 1, 2018 • retagged Jun 21, 2022 by Lakshman Bhaiya ankit_thawal 842 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Ashwin Kulkarni commented Feb 1, 2018 reply Follow Share Only 1 is true 0 votes 0 votes Shubhanshu commented Feb 1, 2018 reply Follow Share 1 True. Before sending source code to Lexical phase, pre-processor resolve the #include statements and #define statements. 2 votes 2 votes Please log in or register to add a comment.
3 votes 3 votes Before sending the file for lexical analysis, it will be pre- processed, which will remove all the statements containting $#$. To see what is actually sent to the lexer, use the command cpp <input.cpp> on Linux, to see a pre processed file. sandeep007734 answered Feb 5, 2018 sandeep007734 comment Share Follow See all 0 reply Please log in or register to add a comment.