#include<stdio.h>
int main()
{
int i=10;----------------------------------------------------------------------------- Line 1
printf("address of i=%d value of i=%d",&i,i);-------------------------Line 2
&i=7200;----------------------------------------------------------------------------Line 3
printf("address of i=%d value of i=%d",&i,i);-------------------------Line 4
return 0;
}
In line 3, there will be L value error.
.
L-Value stands for left value
L-Value of Expressions refer to a memory locations
In any assignment statement L-Value of Expression must be a container(i.e. must have ability to hold the data)
Variable is the only container in C programming thus L Value must be any Variable.