Chapter 2

Variables, identifiers, and data types

A variable is a name that represents one or more memory locations used to hold program data.

Identifiers are names that are given to program elements, such as variables, functions, arrays, or any other named element.