An identifier is a token that identifies an entity.


An identifier is a unique combination of data that is used to identify an entity. Identifiers are typically numerical (e.g. primary keys in databases) or textual (e.g. variable or file names) .

Name

If the identifier consists entirely of text characters, it is known as a name. A name is a textual token that can be used to refer to an entity, such as a variable, a type, a subroutine or a file.

C++ 

In C++ a valid name is a sequence of one or more nondigit or decimal digit characters beginning with a nondigit character. Names must always begin with a nondigit character. In some cases names beginning with an underline character may be reserved for compiler-specific keywords or external names.

A name must not match any keyword of the C++ language or the compiler's specific ones.


example GCC C++
Borland C++ Compiler
Java
home Home Page