Saturday 4 April 2020

Tokens in C++


Tokens in C++
The smallest individual units in a program are known as tokens. More than one token can appear in a single line separated by white spaces.  White space may be blank, carriage return or tab.  C++ has the following tokens.

·         Keywords
·         Identifiers
·         Constants
·         Strings
·         Operators
A C++ program is written using these tokens, white spaces, and the syntax of the language. 

No comments:

Post a Comment