GATE 2026 set2 Computer Science and Information Technology question: A lexical analyzer uses the following token definitions letter [A-Za-z] digit [0-9] id…
A lexical analyzer uses the following token definitions
For the string given below,
x1 23mm 78 y 7z zz5 14A 8H AaYcD
the number of tokens (excluding ) that will be produced by the lexical analyzer is __________. (answer in integer)
Show answer
Official answer: 13