C++ Keywords

In C++, keywords are reserved identifiers which cannot be used as names for the variables in a program.

C++ Keyword List :

asmelseoperatortemplate
autoenumprivatethis
breakexternprotectedthrow
casefloatpublictry
catchforregistertypedef
charfriendreturnunion
classgotoshortunsigned
constifsignedvirtual
continueinlinesizeofvoid
defaultintstaticvolatile
deletelongstructwhile
doublenewswitch-

Keywords cannot be used for the -

  1. Declaring Variable Name
  2. Declaring Class Name
  3. Declaring Function Name
  4. Declaring Object Name