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

What is Variable

I Can't Understand About Variable

2nd Aug 2016, 8:54 AM
Honey honey
Honey honey - avatar
9 Answers
+ 2
Think of it just like this, Honey - Would be the variable. 26 - was his/her birthday Since Honey is a person, Honey have a birthday so we will assign 26 as the Birthday of Honey, in short int Honey = 26; Variable| the number we assign why "int"? because the birthday we assigned to Honey is a whole number, an Interger. :)
2nd Aug 2016, 9:34 AM
john cariño
john cariño - avatar
0
I Thing Alphabets.
2nd Aug 2016, 8:55 AM
Honey honey
Honey honey - avatar
0
Name or any data which we declare before the programm
2nd Aug 2016, 9:20 AM
mounika
0
it is basically a named object. variable is nothing but whose value is not fixed i.e, which may vary. and its values depends on how we define the variable using operators and statements.
3rd Aug 2016, 6:21 AM
Uday Raj Desh
Uday Raj Desh - avatar
0
Variables are the numbers which have capability to changed
3rd Aug 2016, 6:24 AM
Honey honey
Honey honey - avatar
0
in the form of integer we're the value stored
3rd Aug 2016, 6:35 PM
Akshu Gupta
Akshu Gupta - avatar
0
it is just a name given to the memory location.and d value of dt memory location can change during d execution of d program hence it is called a variable
3rd Aug 2016, 7:05 PM
euki
0
variable is just like a container in which we can store whatever we want for example we need a program to add two numbers, it is only possible when you first store first number than store second number then only we can add the two numbers. if you want to print the result also we need a third variable to store the result
6th Aug 2016, 6:41 AM
Neera Choudhary
Neera Choudhary - avatar
0
variable is the place value holder which can be declare before it is used.
19th Aug 2016, 11:24 AM
nainsi