Keywords in C Plus Plus(C++) with examples

Keywords in C Plus Plus(C++) with examples

Keywords are reserved words in the C++ language that are used for a special purpose in the source code. They only can be used for the purpose of what they designed.  However, you can define your own keywords to use in the C++ language, and you can assign customized syntax coloring to the keywords. 

It is reserved words in C++ library and used to perform an internal operation. There is the following list of C++ keywords in table form.

List of C++ keyword

or_eqdonamespacestatic_cast
and_eqdoublenewstruct
asmdynamic_castnotprivate
autoelsenot_eqtemplate
bitandthrowoperatorthis
bitorexplicitorenum
boolexportandtrue
charexternswitchtry
casefalseprotectedtypedef
catchfloatpublictypeid
breakforregistertypename
classfriendreinterpret_castunion
complgotoconstinline
shortwhileconst_castint
virtualsignedcontinuelong
voidusingdefaultmutable
volatilestaticdeleteunsigned
xorxor_eqreturnwchar_t
ifsizeof

 

Prof. Fazal Rehman Shamil
Researcher, Publisher of International Journal Of Software Technology & Science ISSN: 2616-5325
Instructor, SEO Expert, Web Programmer and poet.
Feel free to contact.