stackvariable
nounUK /ˈstækˌveəriəbl/
US /ˈstækˌveriəbl/
A stack variable is a little box in a computer program that holds a value while a job is being done.
The programmer put the score in a stack variable so the game could keep track of it.
OTHER MEANINGS
2. A variable stored in the call stack's memory frame, created when a function starts and removed when it ends.
Each recursive call created a new stack variable for its own count.
3. A named storage location whose lifetime is tied to the block or function in which it is declared.
Because it was a stack variable, it vanished as soon as the loop finished.
4. In informal use, any short-lived value kept on the stack rather than in long-term storage.
Keep that number as a stack variable; you don't need to save it later.