0
What is the difference between variable and identifier?
I am not getting this stuff
1 Answer
+ 5
The identifier is the name that you gave to the variable (and other such things, such as classes, functions, types, etc...) A variable is a spot in memory that you're using to store data in, you give it a name (identifier) so that you can easily access and manipulate it without having to know its actual memory address.