Explain the use of variable names | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Explain the use of variable names

1st Jul 2018, 6:49 AM
Satish
Satish - avatar
4 Answers
+ 7
Hello, Satish ! A variable is an area of ​​RAM that has its own name and is intended for storing data that can be changed. A constant is a region of RAM that has its own name and is intended for storing persistent data.
1st Jul 2018, 6:53 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
variables are like containers that store information in the RAM so that it can be used for later
2nd Jul 2018, 10:54 AM
Amedjoe
Amedjoe - avatar
+ 1
Basically a variable is a memory in RAM where your data is stored and it's possible to have lots of those. In order to make the computer know what your talking about or instructing it on how to manipulate them you'll need to name them. Or else the computer wouldn't know which ones to use
4th Jul 2018, 7:01 PM
Noodle-onthe-ice
Noodle-onthe-ice - avatar
- 1
variables are memory boxes
8th Jul 2018, 9:53 AM
VC Gameplays
VC Gameplays - avatar