+ 3
What is an Lvalue error in c++ ??
Error handling
4 ответов
+ 1
what are you trying to do?
You can't assign a value of another value (m+1 is the value of m incremented, not the variable itself)
Maybe you tried to do *(m+1)=n; that means m[1] = n
+ 6
It will help if you understand what Lvalues are: https://blog.smartbear.com/development/c11-tutorial-explaining-the-ever-elusive-lvalues-and-rvalues/
+ 2
I wrote (m+1)=n;......it shows this error...... But when I removed the bracket, there is no error
0
I'm not sure, could you show some code?