Statements and State Change

Back to Core Idea

Programs are composed of statements that explicitly modify program state. Each statement is an instruction to the machine, and execution proceeds by changing the values stored in memory locations.

programming-paradigms imperative state