14 votes 14 votes The output of a lexical analyzer is A parse tree Intermediate code Machine code A stream of tokens Compiler Design isro2017 compiler-design lexical-analysis + – sh!va asked May 7, 2017 sh!va 6.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 16 votes 16 votes option D will be correct.. Lexical analyzer take the source code as input and convert it into the stream of tokens as output.... akash.dinkar12 answered May 7, 2017 • selected May 7, 2017 by Arjun akash.dinkar12 comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes Lexical analyzer scans every character of the input and divides them into individual tokens. So ans is D. AnilGoudar answered May 7, 2017 AnilGoudar comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes Lexical analyser takes high level language as input and produces stream of tokens as output Priyanka Agarwal answered May 24, 2017 Priyanka Agarwal comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes The function of lexical analyzer is to read the source program, one character at a time, and to translate it into a sequence if primitive units called tokens. Answer: D (A stream of tokens) Mk Utkarsh answered Jun 22, 2017 Mk Utkarsh comment Share Follow See all 0 reply Please log in or register to add a comment.