Keywords in C++


The keywords are identifiers but cannot be user defined, since they are reserved words. So, keywords are also known as reserved words. We should not use them as variables or identifiers.All the keywords  should be in lowercase letters.Some  Keywords are:

auto          const               for              new                signed            try

asm           default             float          operator       sizeof              typedef

break        delete               friend       private          static              union

case           do                       goto          protected    struct             unsigned

catch        double               if                public           switch             virtual

char          else                    inline         register       template        void

class         enum                 int               return         this                    volatile

const        extern              long            short            throw               while

 

Comments are closed.