edited by
1,615 views

3 Answers

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

selected by
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)  }
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

Related questions

2 votes
2 votes
2 answers
2
Rhythm asked Jun 5, 2019
4,008 views
which one of the following string can definitely said to be a token without looking at the next input:+(++,+=)return(return a)*(*=)=(==)++ , ( ) ‘ ; option e is: plu...
2 votes
2 votes
3 answers
3
kman30 asked Jan 21, 2019
1,693 views
How many tokens in thisa>>=1;and a! , Will >>= and a! be treated as a single token ?
0 votes
0 votes
1 answer
4
Vipin Rai asked Dec 12, 2018
565 views
int main(){ int a,b; a = 10; b = 11; printf(“%d %d”, a++,b );}The number of tokens is