你的代码分开来就是:
int x,y,z;
x=6;
y=6;
z=x;
++y;
printf
所以输出6.
你的疑问是引用吧,你这里没有用到引用,引用是这样的
int x=6;
int &y=x;
int &z=x;
++y;
printf(“%d”,z);
此时,结果是7
6,程序会先执行前面的语句
svg.append("path")
.datum(topojson.mesh(uk, uk.objects.subunits, function(a, b) { return a !== b && a.id !== "IRL"; }))
.attr("d", path)
.attr("class", "subunit-boundary").