+ 1
{ int x=5,y=9,u=30; int r; r= ++x - y-=3 + u*=2 +u&y; cout <<r <<endl; friends tell me what is error and why???
2 Antworten
0
If it c++, it can't compile "a = b-=x", or "a = b+=x" and so on.
My compilator says: "lvalue required as left operand of assignment"
Just split operations and it will work.
+ 1
Thank u