8 votes 8 votes How many tokens will be generated by the scanner for the following statement ? $x = x ∗ (a + b) - 5$; $12$ $11$ $10$ $07$ Compiler Design ugcnetcse-dec2014-paper3 compiler-design lexical-analysis + – makhdoom ghaya asked Jul 25, 2016 makhdoom ghaya 4.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 11 votes 11 votes ans is A) 12 x=x*(a+b)-5; every character is token here token no character 1 x 2 = 3 x 4 * 5 ( 6 a 7 + 8 b 9 ) 10 - 11 5 12 ; Sanjay Sharma answered Jul 25, 2016 • selected Nov 7, 2016 by Arjun Sanjay Sharma comment Share Follow See all 0 reply Please log in or register to add a comment.