C++ Keywords A keyword is a reserved word. You cannot use it as a variable name, constant name etc. A list of 32 Keywords in C++ Language which are also available in C language are given below.
auto |
break |
case |
char |
const |
continue |
default |
do |
double |
else |
enum |
extern |
float |
for |
goto |
if |
int |
long |
register |
return |
short |
signed |
sizeof |
static |
struct |
switch |
typedef |
union |
unsigned |
void |
volatile |
while |
A list of 30 Keywords in C++ Language which are not available in C language are given below.
asm |
dynamic_cast |
namespace |
reinterpret_cast |
bool |
explicit |
new |
static_cast |
false |
catch |
operator |
template |
friend |
private |
class |
this |
inline |
public |
throw |
const_cast |
delete |
mutable |
protected |
true |
try |
typeid |
typename |
using |
virtual |
wchar_t |
|