From Computer Science Wiki
Jump to: navigation, search
Programming basics[1]

The official definition: in computer programming, a variable is a storage location paired with an associated symbolic name (an identifier) which contains a value.[2]

In other words, a variable is a storage location for data. Variables have names. Some computer language mandate you assign a data type to variables. When asked for the "official definition" (or best definition) please use the definition stated above.

See also

Variables in php


  • DefineGive the precise meaning of a word, phrase, concept or physical quantity. the terms: variable, constant, operator, object.