L-Value: In compilation, l-values are those variables which can be put on the left side of an expression. Example as follows:
int a, b;
a = b;
Structures are l-values whereas arrays are not l-values.
struct node * next;
struct node n1, n2;
n1 = n2;
name1 = name2; /*Gives compilation error*/
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
union type, struct vs union, struct pack padding, size of a structure, bit fields, l-value, struct and array, function declaration and definition, calling conventions, calling convention of C,C++ and PASCAL,
C Programming Language (Prentice Hall Software)
Let Us C Paperback - 2006 by Yashavant Kanetkar
Understanding and Using C Pointers Core techniques for memory management
Data Structures Using C and C++ Paperback - 1998
Data Structures In C Paperback - August 11, 2008 by Noel Kalicharan