0
What is Variable
I Can't Understand About Variable
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. :)
0
I Thing Alphabets.
0
Name or any data which we declare before the programm
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.
0
Variables are the numbers which have capability to changed
0
in the form of integer we're the value stored
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
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
0
variable is the place value holder which can be declare before it is used.