What are variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are variables

they are just tiny sized buckets in your machine's memory space used in order to store all the values that you assign or wanted the data to store it somewhere

21st Oct 2018, 5:16 PM
Pawan Nirpal
Pawan Nirpal - avatar
6 Answers
+ 6
Jai Thx bro. I want to become a programmer. That's why working in that field.
21st Oct 2018, 9:17 PM
Arushi Singhania
Arushi Singhania - avatar
+ 5
Variables are the entities which don't have a fix value. In more simpler terms, anything whose value is not fixed and can be changed is a variable. For ex, 1 has a fixed value. You can't specify it the value of 2. But you can specify x, value of 1,2,3 e.t.c. as per your wish. Hence, x is a variable.
21st Oct 2018, 5:40 PM
Arushi Singhania
Arushi Singhania - avatar
+ 4
Jai Not mam. You can tell me sis. I am just 15.
21st Oct 2018, 5:42 PM
Arushi Singhania
Arushi Singhania - avatar
+ 1
variable we can simply understand as (It is an element, feature, or factor that is liable to vary or change.) but in a programming term we can say as "The naming of an address is known as variable. Variable is the name of memory location. Unlike constant, variables are changeable, we can change value of a variable during execution of a program"
21st Oct 2018, 6:14 PM
Manoj Yadav
Manoj Yadav - avatar
+ 1
Hey Arushi you did quite a lot with programming, sorry I just saw some of your codes that's ausome at the age of 15
21st Oct 2018, 6:44 PM
Pawan Nirpal
Pawan Nirpal - avatar
+ 1
oh so. a. pro programer ha
21st Oct 2018, 9:19 PM
Pawan Nirpal
Pawan Nirpal - avatar