Explain l and r value with an example.
Answers
Answered by
1
Explanation:
For example, An assignment expects an lvalue as its left operand, so the following is valid: int i = 10; But this is not: int i; 10 = i; This is because i has an address in memory and is a lvalue. While 10 doesn't have an identifiable memory location and hence is an rvalue
is the right answer
mark as branliest
Similar questions