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

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