A lexical analyzer uses the following token definitions • letter [A - Z a - z] • digit [0 - 9] • id letter (letter digit)* • number digit+ • ws (blank tab newline)+ For the string given below, x1\ \ 23mm\ 78\ y\ 7z\ zz5\ 14A\ 8H\ AaYcD the number of tokens (excluding ws) that will be produced by the lexical analyzer is … (answer in integer)
Topic-wise GATE CS PYQs with verified steps
