Which of the following statements is/are TRUE about the lexical analyzer?
I. It reads the input characters and produces a sequence of tokens that the parser uses for syntax analysis.
II. Lexical analyzer removes comments and white spaces in the form of blank, tab, and newline characters.
III. It correlates error messages from the compiler with the source program.
1
I
2
I and II
3
I, II and III
4
I and III