这自加不知道怎么理解,请大家看下。
#include<stdio.h>int main()
{
int x = 3;
int y = x;
printf("x = %d y = %d\n", x, y);
x = 3;
y = x++;
printf("x++ = %d y = %d\n", x, y);
x = 3;
y = ++x ;
printf("++x = %d y = %d\n", x, y);
x = 3;
y = ++x + ++x;
printf("x = %d y = %d\n", x, y);
x = 3;
y = ++x + ++x + ++x;
printf("x = %d y = %d\n", x, y);
return 0;
}