Token | keyword

token

Small parts of a program, which complete a program. In simple language, some text, alphabet or special character from which we write a Programming language, some of these names are user defined and some are already present in the library of predefined i.e. C ++ which are used as required.

They are as follows-

keyword
identifier
Operator
constant
string

 

keyword

There are already some reserved keywords in C++, whose definition is already created, we can use them to perform a task in our program according to our convenience.

There are some reserved keywords in C++ and all the lowercase ones are there. Which are as follows-

 

auto asm break case switch continue
int float char class const default
delete do while for typedef else
return inline if signed unsigned enum
long short goto union sizeof static
struct double virtual register void new
try catch throw public private this
protected operator template volatile friend catch
extern

previous-Structure of a Program in C++

next-character set | identifier | comments