+ 2
What is variable?
variables are allocated memory to store data. compiler allocate memory,based on the data type of the variable. variables must be declared before they are used. https://www.sololearn.com/discuss/534631/?ref=app
3 Réponses
+ 5
In simple variables are user defined name given to the memory location
In c++ a variable must be declared before the use
Eg:int a= 5;
int is the data type that is integer
a is the name of variable
5 is value assigned
+ 4
variables are memories to store data
+ 2
a variable is a memory location that you can assign information on it.