explain how a variable is different from identifers
Answers
Answered by
0
Answer:
- Both an identifier and a variable are the names allotted by users to a particular entity in a program. The identifier is only used to identify an entity uniquely in a program at the time of execution whereas, a variable is a name given to a memory location, that is used to hold a value.
Answered by
1
The identifier is only used to identify an entity uniquely in a program at the time of execution whereas, a variableis a name given to a memory location, that is used to hold a value. Variable is only a kind of identifier, other kinds ofidentifiers are function names, class names, structure names, etc.
Similar questions