 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
A
declaration tells the computer what an identifier
|
|
|
represents.
(object, function, or type)
|
|
|
• |
In
C++, you must declare every identifier before it is used.
|
|
• |
A
memory location which can change is known by a
|
|
|
variable
name.
|
|
|
• |
VariableDeclaration
|
|
|
|
DataType Identifer , Identifier …;
|
|
|
• |
A
memory location(s) whose value never changes is
|
|
|
known
by a constant name
|
|
|
• |
ConstantDeclaration
|
|
|
|
const DataType Identifier =
LiteralValue;
|
|