Sunday 6 November 2016

What is keyword in C++ ?

Keyword: 


A keyword is a special type of word which has fixed meaning and used to perform a specific operation.Keywords are written lowercase in C++. You cannot use them or redefine them because keywords have their own definition and use.

Following are some keywords used in C++:

int
struct
long
switch
register
typedef
return
union
short
unsigned
signed
void
sizeof
volatile
static
while

No comments:

Post a Comment