588 views
3 votes
3 votes
Calculate total no of Tokens and also determine there types:-

a)  a9997.7b884.cddf2.77

b)  74>><<2gfh0012

c)  a>=ab.785!lklk

d)  a9997.b884.100intcddfloat2.77

Q2)  Differentiate between Tokens, Lexeme and Pattern with the help of example

Eg. int a;

1 Answer

Related questions

2 votes
2 votes
2 answers
1
Na462 asked Nov 7, 2018
3,684 views
0 votes
0 votes
0 answers
2
syncronizing asked Sep 22, 2018
421 views
Which of the following is not a token of c -program?A. 1.02e + 2B. # defineC. 123.33D. MAXplease explain why?
0 votes
0 votes
1 answer
3
syncronizing asked Sep 21, 2018
5,381 views
Question:Find the number of tokens in the following C code using lexical analyzer of the compiler.
0 votes
0 votes
2 answers
4
saumya mishra asked Jun 12, 2018
2,287 views
In this question we will take n-=n1 as n=n-n1 as 5 tokens or n-=n1 as 4 tokens ????