What is a variable in programming?

1.56K views

What is a variable in programming?

In: Other

11 Answers

Anonymous 0 Comments

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

You are viewing 1 out of 11 answers, click here to view all answers.