Recent questions tagged compiler-tokenization

3 votes
3 answers
3
The number of tokens in the following C code segment isswitch(inputvalue) { case 1 : b =c*d; break; default : b =b++; break; }$27$$29$$26$$24$
2 votes
2 answers
9
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...
0 votes
1 answer
11
The number of tokens in the following $\text{C}$ statement isprintf(“i = %d, j = %f, &i = %x\n”, i, j, &i);$10$$35$$46$$12$
0 votes
1 answer
12
int main(){ int a,b; a = 10; b = 11; printf(“%d %d”, a++,b );}The number of tokens is
0 votes
4 answers
13
Identify the total number of tokens in the given statementprintf("A%B=",&i);$7$$8$$9$$13$
1 votes
0 answers
14
2 votes
5 answers
15
What it the number of tokens in the following line?printf("%d numbers.", &x);
2 votes
2 answers
17
1 votes
2 answers
18
0 votes
1 answer
20
The number of tokens in the fortran statements DO 10 I = 1.3 is ?
0 votes
0 answers
21
Which of the following is not a token of c -program?A. 1.02e + 2B. # defineC. 123.33D. MAXplease explain why?
0 votes
1 answer
22
1 votes
1 answer
23
Find no of tokens in below program.#include<stdio.h>main(){ int I; int *pi = &I; //parent pointer scanf("%d",pi); printf("%d\n", I+5);}
1 votes
0 answers
24
Whether a given pattern constitutes a token or not(a) depends on the source language(b) depends on the target language(c) depends on the compiler(d) none of the above com...
1 votes
1 answer
26
No of token?$a b c d + y{^3}+(2-5+x$ $6/2$$ ;$Please suggest how to count token in this type of questions?
0 votes
2 answers
27