Multiple choice

Which of the following types of errors are generated by the lexical analyser in the phases of the compiler when it discovers that no prefix of the remaining input fits the specification of any token class?

  1. Semantic errors

  2. Syntactic errors

  3. Lexical phase errors

  4. Dynamic errors

  5. Entry level errors

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

These types of errors are generated by the lexical analyzer in the phases of the compiler when it discovers that no prefix of the remaining input fits the specification of any token class.