C++ Keywords

Keywords are explicitly reserved identifier of C++ language features. It cannot be used as user-define program elements or other name for the program variables.

C++ programming language has several reserved keywords used in program. ANSI C++ also uses the keywords available in ANSI C programming language.

ANSI C programming language keywords:

auto double int struct
break else long switch
case enum register typedef
char extern return union
const float short unsigned
continue for signed void
default goto sizeof volatile
do if static while

Keywords added by ANSI C++ programming language:

asm private bool reinterpret_cast
catch protected const_cast static_cast
class public dynamic_cast true
delete template explicit typeid
friend this export typename
inline throw false using
new try mutable wchar_t
operator virtual namespace