Skip to main content

Variable

Programming

A named container that stores a value in a program.

A variable associates a name with a storage location holding a value that can be read and (usually) changed during execution. Variables have a type and a scope that determines where they are accessible.

← Back to full glossary