C++ Keywords

What is Keywords?

Keywords are predefined, reserved identifiers that for special purpose in source code. They cannot be used as identifiers in a C++ program. However, you can define your own keywords to use in 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 are following list of C++ keyword in table form.


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