C++ Keywords

This entry is part 21 of 61 in the series C++

Keywords are identifier that form the statements and syntax of a programming language.

As C++ is derived from C and it is a superset of C.

The keywords in C++ consists of the keywords in ANSI C and the keywords in C++ 11.

ANSI C and C++ Keywords

autobreakcasecharconst
continuedefaultdodoubleelse
enumexternfloatforgoto
ifinlineintlongregister
returnshortsignedsizeofstatic
structswitchtypedefunionunsigned
voidvolatilewhile

C++ 11 Additions

alignasalignofasmboolclass
catchchar16_tchar32_tconst_castconstexpr
decltypedeletedynamic_castexplicitexport
falsefriendmutablenamespacenew
noexceptnullptroperatorprivateprotected
publicstatic_assertstatic_casttemplatethis
thread_localthrowtruetrytypeid
typenameusingvirtualwchar-t
Series Navigation<< C++: A class with only data members
C++: An instance of an object >>

Leave a comment

Leave a Reply