1.

Which of the following characters are ignored while lexical analysis?(a) .(b) =(c) #(d) WhiteSpaceI have been asked this question in an interview.Origin of the question is Lexical Analysis in portion Regular Expressions and Languages of Automata Theory

Answer»

The correct choice is (d) WhiteSpace

The BEST EXPLANATION: The lexical analyzer IGNORES all the whitespaces and fragments the program into tokens.



Discussion

No Comment Found

Related InterviewSolutions