Saturday 15 August 2015

What is the difference between a keyword and a user-defined identifier?

Leave a Comment


C++ reserves a set of 63 words for it’s own use. These words are called keywords, and each of these keywords has a special meaning with in the C++ language.

Check out the list of keywords here.


Definition from MSDN:

An identifier is a sequence of characters used to denote one of the following:

Object or variable name
Class, structure, or union name
Enumerated type name
Member of a class, structure, union, or enumeration
Function or class-member function
typedef name
Label name
Macro name
Macro parameter
If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: