9. Identify and classify tokens in the following C++ statement:
cout << “The Missile Man”;
Answers
Answer:
This is print statement in c++ which displays The Missile Man on the screen
Explanation:
PLEASE MARK ME AS BRAINLIEST!!!
Answer:
The Token used in the following C++ statement is Keywords.
Explanation:
Tokens are the building blocks for the C++ program.
There are five types of tokens. They are
- Keywords
- Identifiers
- Literals
- Punctuators
- Operators
1. Keywords:
That convey a specific meaning to the compiler language. These are reserved words.
2. Identifiers:
These are user defined words used to name different program elements. The memory location for identifiers are called Variables.
3. Literals:
Data items that which never change the value when the Program run. It is often known as constants.
4. Punctuators :
Symbols which have syntactic or semantic meaning to compiler.
5. Operator :
Which represents the compiler about specific operation. They are applied to set of data called Operands.
#SPJ2