Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
A token is the smallest element of a C++ program that is meaningful to the compiler. The C++ parser recognizes these kinds of tokens: Keywords. Identifiers. Numeric, Boolean and Pointer Literals.
A token is the smallest individual element of a program that is understood by a compiler. A token comprises the following:
Keywords – That contain a special meaning to the compiler
Identifiers – That hold a unique value/identity
Constants – That never change their value throughout the program
Strings – That contains the homogenous sequence of data
Special Symbols – They have some special meaning and cannot be used for another purpose; eg: [] () {}, ; * = #
Operators – Who perform operations on the operand