Every words in C++ language is a keyword or an identifier . Keywords in C++ language can not be used as a variable name . They are specifically used by the compiler for its own purpose and they serve as building blocks of a C++ program.
C++ language has some reserve word which are called keywords. They are the part of the C++ tokens.
There are 63 keywords currently defined for standard C++.
C++ Keyword | |||
---|---|---|---|
asm | double | new | switch |
auto | else | operator | template |
break | enum | private | this |
case | extern | protected | throw |
catch | float | public | try |
char | for | register | typedef |
class | friend | return | union |
const | goto | short | unsigned |
continue | if | signed | virtual |
default | inline | sizeof | void |
delete | int | static | volatile |
do | long | struct | while |
No comments:
Post a Comment