Keywords are words which belongs to C++ language. They have standard predefined meaning. These words should be used only for their intended purpose. The users have no right to change its meaning. Keywords should be written in lowercase.
New keywords in C++
C++ language contains all the keywords in C language. In addition to this some more keywords are added to make C++ language as an object oriented language. These keywords are called new keywords. In other words new keywords are words which belongs to C++ language only.Examples for Keywords:
1) New keywords
asm catch friend private public
this try new new class
inline protected throw virtual
2) Keywords common to C and C++
float signed auto for sizeof
break static case goto struct
if switch char int const
long continue default typedef union
do unsigned double else register
void enum return volatile extern
0 comments:
Post a Comment