Computer Science, asked by singhveer3222, 5 months ago

explain how a variable is different from identifers​

Answers

Answered by crazygirl60
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 Anonymous
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