+ 2

What is the difference between an identifier and a variable?

10th Feb 2016, 10:25 AM
Ashutosh Singh
Ashutosh Singh - avatar
4 Respuestas
+ 7
Identifier is something that identifies. Variable is a the container which stores some value. Think of identifier as your name and variable as your body which holds your organs, bones etc.(value)
20th Apr 2016, 2:37 AM
Abhinav Garg
Abhinav Garg - avatar
+ 2
Identifier is any word used in the program but variable is the used with a specific data type and also whose values tend to change
4th May 2016, 6:02 PM
Raju Gautam
Raju Gautam - avatar
+ 1
identifier refers to functions,variables... that is user defined one and variables is a place that hold the data value
24th Jun 2016, 5:10 PM
sara
0
A variable is a type of identifier. An identifier can be a variable, function, label or any user defined item. There are set of rules for declaring identifiers, if can only contain alphabets, numbers or under score. It can only begin with an alphabet or an underscore
25th Jun 2016, 7:25 AM
Rohith Mohan
Rohith Mohan - avatar