What is token?? Elaborate briefly | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is token?? Elaborate briefly

I want the answer of this question

3rd Jul 2017, 2:41 PM
Hasan roshan
Hasan roshan - avatar
2 Answers
+ 6
A token is source-program text that the compiler does not break down into component elements. The keywords, identifiers, constants, string literals, and operators are the examples of tokens. Punctuation characters such as brackets ([ ]), braces ({ }), parentheses ( ( ) ), and commas (,) are also tokens.
3rd Jul 2017, 5:01 PM
Anjali Dewangan
Anjali Dewangan - avatar
+ 2
http://www.cppforschool.com/tutorial/basic.html look for Tokens, keywords, identifiers, literals in thepage linked.
3rd Jul 2017, 4:56 PM
seamiki
seamiki - avatar