Which of the following is used for grouping of characters into tokens?
(a) Parser
(b) Code optimization
(c) Code generator
(d) Lexical analyser
This question was posed to me during an internship interview.
I'm obligated to ask this question of Handle of Right sentinel Grammar in division Bottom Up Parsing of Compiler