Definition: control variable
In programming, a variable that keeps track of the number of iterations of a process. Its value is incremented or decremented with each iteration, and it is compared to a constant or other variable to test the end of the process or loop.