3 votes 3 votes Number of tokens in $\text{int a[5];}$ Compiler Design compiler-design compiler-tokenization + – Deepak Singh 7 asked Mar 15, 2018 • retagged Mar 15, 2018 by Sukanya Das Deepak Singh 7 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 8 votes 8 votes $\color{gold}{\text{Number of tokens in }}\color{green}{\text{int a[5];}} \color{gold}{\text{ will be}}\hspace{0.1cm} \color{orange}{6}.$ Sukanya Das answered Mar 15, 2018 • selected Mar 15, 2018 by rahul sharma 5 Sukanya Das comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Six Tokens. Every Bracket is One Token in itself. Deepak Poonia answered Mar 15, 2018 Deepak Poonia comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 6 Tokens including ; Rahul Ranjan 1 answered Mar 17, 2018 Rahul Ranjan 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Number of tokens in int a[5]; will be 6 Himanshu Kumar Gupta answered Sep 11, 2020 Himanshu Kumar Gupta comment Share Follow See all 0 reply Please log in or register to add a comment.