Community Profile


Constants and Variables

A variable is an object whose content can be modified by an action. The data as well as the results of intermediate or final calculations are stored in memory cells that correspond to variables. Thus, a variable is stored in a named memory location, of fixed size (or not) taking an indefinite number of different values during the course of the algorithm. A constant is an object whose state remains unchanged during the whole execution of a program. Its value can never be modified and must therefore be specified when the object is defined. Like a variable, a constant has a reserved memory location that can be accessed by the name assigned to it, but the whose stored value will never be modified during the program. More info:

Content Feed

No Activity