Constants and Variables

 

Constants and variables are combined with operators and functions to produce results. A constant is a value that does not change during the execution of a program. A variable is a location with a name that contains a scalar or array value. During the execution of a program or an interactive terminal session, numbers, strings, or arrays may be stored into variables and used in future computations.