0

what is the difference between variable and identifier

13th Jul 2016, 5:18 PM
Anveshreddy
Anveshreddy - avatar
2 Antworten
+ 3
An Identifier is a name of variable, function, class, object, etc., whereas variable is a name used to refer a location in memory whose value may change during program execution.
14th Jul 2016, 2:05 PM
B. K.
+ 1
An identifier is just the name of the variable/class/enum/function/union/struct/namespace and i dont know if i'm missing something.
13th Jul 2016, 5:50 PM
this->getName()