1.

When expression sum=3+2 is tokenized then what is the token category of 3?(a) Identifier(b) Assignment operator(c) Integer Literal(d) Addition OperatorI got this question in a national level competition.This is a very interesting question from Lexical Analyser in division Finite Automata and Regular Expression of Compiler

Answer»

Right answer is (C) Integer Literal

To ELABORATE: Lexeme

Token CATEGORY



Discussion

No Comment Found

Related InterviewSolutions