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


    Question

    Which error is detected during lexical

    analysis?
    A Undeclared variable Correct Answer Incorrect Answer
    B Missing semicolon Correct Answer Incorrect Answer
    C Invalid identifier name Correct Answer Incorrect Answer
    D Type mismatch Correct Answer Incorrect Answer
    E Array index out of bounds Correct Answer Incorrect Answer

    Solution

    Lexical analysis detects invalid tokens such as incorrect identifiers or illegal characters.

    Practice Next
    ask-question