C++ Keywords List

The C++ Keywords must be in your knowledge because you can not use them as a variable name.

C++ Keywords List

You can’t use keyword as identifier in your C++ programs, its reserved words in C++ library and used to perform an internal operation.

asmelsenewthis
autoenumoperatorthrow
boolexplicitprivatetrue
breakexportprotectedtry
caseexternpublictypedef
catchfalseregistertypeid
charfloatreinterpret_casttypename
classforreturnunion
constfriendshortunsigned
const_castgotosignedusing
continueifsizeofvirtual
defaultinlinestaticvoid
deleteintstatic_castvolatile
dolongstructwchar_t
doublemutableswitchwhile
dynamic_castnamespacetemplate




In addition, the following words are also reserved:

Andbitornot_eqxor
and_eqcomplorxor_eq
bitandnotor_eq
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

15 − five =