Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
4 / 187
What is a token?
Answer:
A token is the smallest element of a C program that is meaningful to the compiler. The C parser recognizes these kinds of tokens: identifiers, keywords, literals, operators, punctuators, and other separators. A stream of these tokens makes up a translation unit.
Asked In ::

CHILUKURI SANDEEP
23 Feb, 2019 5:07 AM
A token is the smallest element of a C program that is meaningful to the compiler. The C parser recognizes these kinds of tokens: identifiers, keywords, literals, operators, punctuators, and other separators. A stream of these tokens makes up a translation unit.