C++ Keywords

C ++ keywords words are also called reserve words. The meaning of these words is already defined by the compiler.

For example int age =27; where int is the keyword whose special meaning is already defined. We cannot use it as an identifier. They always begin with the small latter.

List of all possible C++ keywords in C++ 2017

Keywords (A-C)Keywords (C-I)Keywords (L-S)Keywords (S-Z)
alignas continuelongstatic_cast
alignof co_awaitmodule struct
andco_returnmutableswitch
and_eqco_yield namespacesynchronized 
asmdecltype newtemplate
atomic_canceldefaultnoexcept this
atomic_commitdeletenotthread_local 
atomic_noexceptdonot_eqthrow
autodoublenullptr true
bitanddynamic_castoperatortry
bitorelseortypedef
boolenumor_eqtypeid
breakexplicitprivatetypename
caseexportprotectedunion
catchexternpublicunsigned
charfalseregisterusing
char16_t floatreinterpret_castvirtual
char32_tforrequires void
classfriendreturnvolatile
complgotoshortwchar_t
concept ifsignedwhile
constimport sizeofxor
constexpr inlinestaticxor_eq
const_castintstatic_assert 

More Related Articles

C++ Execution Environment

C++ Get Started

Scroll to Top