Tokens:
As we know the smallest individual units in a program are called tokens.
C++has following tokens:
1.Keywords
2.Identifiers
3.Constants
4.Strings
5.Operators
A C++ program is written using these tokens ,white spaces and the syntax of the language.Most of C++ tokens are basically similar to C tokens with the exception of some additions and minor modifications .
As we know the smallest individual units in a program are called tokens.
C++has following tokens:
1.Keywords
2.Identifiers
3.Constants
4.Strings
5.Operators
A C++ program is written using these tokens ,white spaces and the syntax of the language.Most of C++ tokens are basically similar to C tokens with the exception of some additions and minor modifications .
No comments:
Post a Comment