edited by
967 views
1 votes
1 votes
How many tokens are there ?

 

int main()

{

char name={'A','A','K','A','S','H'};

return 0;

}

Please give any reference if possible, my doubt is about the characters in the braces, do we count them individually or like a string.
edited by

Please log in or register to answer this question.

Related questions

3 votes
3 votes
1 answer
1
Rishabh Gupta 2 asked Oct 2, 2017
1,301 views
How many tokens are there in the following statement:x > = 2; In general, are shorthand operators counted as a single token as ">>=" or double as ">>" and "=". Or anythin...
1 votes
1 votes
1 answer
2
Mayankprakash asked Aug 9, 2018
519 views
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?
1 votes
1 votes
1 answer
3
ankit_thawal asked Feb 1, 2018
749 views
1. macros are not considered as tokens in tokenizing.2.#include considered as single token2.stdio.h considered as single token. Are the above statements true?
2 votes
2 votes
1 answer
4
Mk Utkarsh asked Jan 5, 2018
1,017 views
A lexeme is an identifier for a token?True or False