total=sum(a,b); // 执行孙袜后大中total = a+b 的值total=sum(total,c); //这时第二个的total = a+b , 整个语句就等于total = total+c;语句执行过程是从右到左。total+c的值再重新赋给total ,就有了则仿激total = a+b+c的结果了