Question:medium

A lexical analyser processes the input string int x = a + 10; How many tokens are generated?

Show Hint

White spaces and comments are ignored by the lexical analyser and are not counted as tokens. They merely act as "delimiters" to help separate the actual tokens.
Updated On: Jul 4, 2026
  • 5
  • 6
  • 7
  • 8
Show Solution

The Correct Option is C

Solution and Explanation

Was this answer helpful?
0

Top Questions on Regular expressions and finite automata