what is variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is variable

variable is defined as there value can be change when the time of execution

23rd Jul 2016, 3:58 PM
Sandhya Rathi
Sandhya Rathi - avatar
7 Answers
0
that's value change with time refer to your application and variable type its type of this value number char date.
23rd Jul 2016, 4:31 PM
Maichael Nasr
Maichael Nasr - avatar
0
it's change their value according to time . its create memory space for saving values.
23rd Jul 2016, 5:16 PM
ikram khan
ikram khan - avatar
0
variable is a pot of value ,which is alocate a memory space for save the value
23rd Jul 2016, 5:18 PM
MD.Sazzad Hossain
MD.Sazzad Hossain - avatar
0
simply variable is a container that stores the value. .
24th Jul 2016, 3:18 PM
Vishwanath Patil
Vishwanath Patil - avatar
0
variable is a name given to a particular memory location in the memory unit... to variables we can asign a value.....and store the value
6th Aug 2016, 11:53 PM
BHASKAR AMBATI
BHASKAR AMBATI - avatar
- 1
The term 'variable' means which is not fixed and can be be change as required. In c programming what happen when we use variables a definte memory space is reserved for that variable
23rd Jul 2016, 6:16 PM
Sudhanshu Sharan
- 1
hello sandhya u can't remember every memory cell address well no one can,thats why we r giving that memory address a name so u can access that memory cell by name that is simply we call it as variable, next u can ask how much memory has to allocate well that's why data type is for, data type suppose int in c# 4 bytes so int I=0; now u r allocating variable I for 4 bytes of space and assigning value 0 now your value 0 is stored where variable I referring memory address. and now execution c# executes it's statement line by line that means if I write int I=o; this line executes first value of I is 0 I =2; now value of I is 2, so values of variables can change when the time of execution. for the best of my knowledge i tried to explain I don't know if I made a mistake.thank you
26th Jul 2016, 8:17 PM
ashwath nm
ashwath nm - avatar