There are four types of tokens in C++ , they are  keywords, Identifiers, constants and operators

  1. Keyword

     Keywords are an important part of a language definition. All keywords have fixed meaning cannot be changed. All keywords have fixed meaning cannot be changed. They implement specific features of the language and they cannot be used as a normal identifiers.

Prerequisites

Before we dive into the world of C++, ensure the following:

  • Basic Programming Concepts:
     i) Familiarity with fundamental programming concepts such as variables, data types, control structures (if statements, loops), functions, and arrays.
    ii) Understanding of how to write simple programs and the logic behind them.
  • Problem-Solving Skills:
    Ability to break down problems into smaller, manageable parts and develop algorithms to solve them.

                                      C++ Keywords

asmdoublenewswitch
autoelseoperatortemplate
breakenumprivatethis
caseexternprotectedthrow
catchfloatpublictry
charforregistertypedef
classfriendreturnunion
constgotoshortunsigned
continueifsignedvirtual
deleteinlinesizeofvoid
dointstaticvolatile
defaultlongstructwhile

Categorized in:

Uncategorized,