Search results for compiler-tokenization

41 votes
7 answers
1
0 votes
4 answers
3
Identify the total number of tokens in the given statementprintf("A%B=",&i);$7$$8$$9$$13$
3 votes
3 answers
4
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$
6 votes
1 answer
5
6 votes
7 answers
8
Find the type of error produced by the following C code.main() { in/*comment t x; floa/*comment*/t gate; }Lexical errorsyntax errorboth a) and b) None of these
0 votes
1 answer
10
2 votes
5 answers
11
What it the number of tokens in the following line?printf("%d numbers.", &x);
3 votes
4 answers
13
1 votes
2 answers
14
Find no of Tokens in bellow programint main(){ a=b+c;"printf("%d%d%d,a,b,c")";}nd my other doubt is if we replace a=b+c to "a=b+c or a=b+c" will it give lexical error n...
2 votes
2 answers
15
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...
3 votes
1 answer
17
0 votes
2 answers
18
1 votes
1 answer
19
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);}