int m=5,y=2;则表达式y+=y-=m*=y后y的值,

问题描述:

int m=5,y=2;则表达式y+=y-=m*=y后y的值,

从右向左计算各个赋值运算:
m*=y==>m=m*y =5*2 =10
y-=m-->y=y-m =2-10 =-8
y+=y-->y=y+y =-8+-8=-16