edited by
1,712 views
4 votes
4 votes

Is the given answer correct?

edited by

3 Answers

Best answer
7 votes
7 votes

Total 34

"printf("%d%d%d,a,b,c")" 


will be considered as

"printf("      %      d         %         d        %          d      ,        a         ,        b       ,     c             ")"

NOT as 1 token but as 14 token

selected by
Answer:

Related questions

2 votes
2 votes
4 answers
2
1 votes
1 votes
1 answer
3
aaru14 asked Nov 21, 2017
1,477 views
in c programming which of the following is not used as a token seprator during lexical analysis?a)white spaceb)commentc)semicolond)none of thesetoken seprator means??
4 votes
4 votes
2 answers
4
jatin khachane 1 asked Nov 23, 2018
1,302 views
int main() { int a,b; a=10; b=15; printf("a=%d,b=%d",a++,b ); }The number of tokens in the above C program is_________.I am getting 30The answer given is 29