What is l-value?

C Programming Language >   Constant in C Language >   Constants in C  

Long Question

1250


Answer:

l-value or location value refers to an expression that can be used on left side of assignment operator. For example in expression "a = 3", a is l-value and 3 is r-value.
l-values are of two types:
"nonmodifiable l-value" represent a l-value that can not be modified. const variables are "nonmodifiable l-value".
"modifiable l-value" represent a l-value that can be modified.

 


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.