int x=0,y=0;x+=++y
时间: 2023-05-30 21:03:57 浏览: 78
+= 和 ++ 操作符区别简单介绍
This code snippet assigns the value of y to x. However, the semicolon at the end of the line seems like a typo and should be removed. The corrected code would be:
int x = 0, y = 0;
x = y;
阅读全文