a variable is just a space in memory you have assigned to be able to take and store a value. you assign it it a type and name so that the CPU knows that it should reserve a set amount of memory for it.
its called a variable because outside of very specific use cases the value it contains is subject to change.
a variable is also how a program can store the data it manipulates thru a function
Latest Answers