0 votes 0 votes Do we count the return type of main as 1 token? Answer given is 29 if we don't count it. shweta sah asked Dec 11, 2018 shweta sah 344 views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Gupta731 commented Dec 11, 2018 reply Follow Share I think answer should be 32. 0 votes 0 votes shweta sah commented Dec 11, 2018 reply Follow Share 29 is given in the answer 0 votes 0 votes Gupta731 commented Dec 11, 2018 reply Follow Share Actually we cant completely trust made easy keys, most of them are wrong. btw why are you considering a++ and b-- each as a single token. wont it be 3 tokens each? 0 votes 0 votes shweta sah commented Dec 11, 2018 reply Follow Share Lexical analyser always looks for longest possible string so I am taking a as one token and ++ as another token. So in a++ we have 2 tokens 0 votes 0 votes Gupta731 commented Dec 11, 2018 reply Follow Share Going by your process, then also answer should be 30 not 29. 0 votes 0 votes shweta sah commented Dec 11, 2018 reply Follow Share Yes I am also getting 30 0 votes 0 votes Gupta731 commented Dec 11, 2018 reply Follow Share @goxul Please have a look at this. 0 votes 0 votes air1ankit commented Dec 11, 2018 reply Follow Share @Gupta731 i am also getting 30... 4....................(line # 1) 1....................(line # 2) (for bracket start) 5....................(line # 3) 4....................(line # 4) 4....................(line # 5) 11....................(line # 6) 1....................(line # 7) (bracket close ) 1 votes 1 votes Please log in or register to add a comment.