1.

What is an r-value and l-value?

Answer»
  • The term "r-value" refers to a data value stored in memory at a given address. An r-value is an EXPRESSION that cannot have a value assigned to it, hence it can only exist on the right SIDE of an assignment operator(=).
  • The term "l-value" refers to a memory location that is used to IDENTIFY an object. The l-value can be found on EITHER the LEFT or right side of an assignment operator(=). l-value is frequently used as an identifier.


Discussion

No Comment Found