banner

C++ Keyword


     Keywords are the words whose meaning has already been explained to the C++ compiler. The keywords cannot be used as variable names because if we do so we are trying to assign a new meaning to the keyword, which is not allowed by the computer. Some C++ compilers allow you to construct variable names that exactly resemble the keywords. However, it would be safer not to mix up the variable names and the keywords. The keywords are also called ‘Reserved words’. 

auto intstruct 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 whiledouble


     Here all above keyword is special keyword, whose definition is already define to the C++ compiler and explanation of keyword given in next chapter.