📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    ⚡ Azaadi sale - Celebrate Independence Day with Flat 55% Off On all courses! 13 to 17 Aug ⚡ Enroll Now

    Question

    What is the primary purpose of lexical analysis in a

    compiler?
    A Identifying syntax errors in the source code Correct Answer Incorrect Answer
    B Transforming high-level code to assembly language Correct Answer Incorrect Answer
    C Converting source code into a stream of tokens Correct Answer Incorrect Answer
    D Performing optimizations on the intermediate code Correct Answer Incorrect Answer

    Solution

    Converting source code into a stream of tokens

    Practice Next

    Relevant for Exams:

    ask-question

    Not sure which exam is best for you Talk to our expert

    Get My Free Call