When do we get \"l-value required\" error...while compiling C++ program???(i am using VC++ )
take for example
*int a=10,b=20;
int c=++(ab+1); above code will give error because inside the bracket you have a expression ont which you want to do increment operation which is not possible. So before doing doing that you have to store that value to some variable.so above code will error of "lvalue" required.