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

By Prof. Fazal Rehman Shamil
Last modified on August 9th, 2021

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

Keywords are reserved words that are used for a special purpose in the source code. Keywords have predefined specific meanings.

List of C++ keyword

or_eq do namespace static_cast
and_eq double new struct
asm dynamic_cast not private
auto else not_eq template
bitand throw operator this
bitor explicit or enum
bool export and true
char extern switch try
case false protected typedef
catch float public typeid
break for register typename
class friend reinterpret_cast union
compl goto const inline
short while const_cast int
virtual signed continue long
void using default mutable
volatile static delete unsigned
xor xor_eq return wchar_t
if sizeof


Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.