4 votes 4 votes No of token generated? int main() { int ***p; printf("%d",***p); } Compiler Design lexical-analysis + – firki lama asked Jan 5, 2017 • edited Apr 22, 2017 by srestha firki lama 1.6k views answer comment Share Follow See 1 comment See all 1 1 comment reply rahul rocker commented Jan 5, 2017 reply Follow Share Match the following: 0 votes 0 votes Please log in or register to add a comment.
Best answer 9 votes 9 votes No of tokens=22 * is one token but not *** is one token. But in case of ++ it is treated as one token not two because this is an operator in programming languages.but *** is not an operatotr santhoshdevulapally answered Jan 5, 2017 • selected Jan 5, 2017 by srestha santhoshdevulapally comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes Total no of tokens=22. Expalanation : 1) int 2)main 3) ( 4) ) 5) { 6) int 7) * 8)* 9) * 10 ) p 11) ; 12) printf 13) ( 14) "%d" 15) , 16)* 17) * 18) * 19 ) p 20) ) 21) 22) } Deepak Gupta 1 answered Mar 24, 2017 Deepak Gupta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes ans is 22 as *** is count as three because it is not any prdefine operator s increment decrement or comparision operator it is use sapartely akankshadewangan24 answered Apr 22, 2017 akankshadewangan24 comment Share Follow See all 0 reply Please log in or register to add a comment.