C Language Q & A #5
How do variables work and change throughout a program ?
- Variables give you a way to store numbers in computer memory, and change the number stored while the program is running. The compiler/linker will keep track of a physical memory location (usually in RAM) where a particular variable’s value is stored, so you can refer to it by the variable’s name.