I am reading l-value and r-value in c . It seems l value stands for locator value .
What is the full form of r-value?
CodePudding user response:
From Value categories
an rvalue (so-called, historically, because rvalues could appear on the right-hand side of an assignment expression)
CodePudding user response:
l-value is for left value and r-value is for right value. These two terms are used to refer to the expressions in an assignment operator.
For example:
x = 7
Here l-value is expression x
which will get the r-value .i.e. 7
after assignment.