#include<stdio.h>
void main()
{
int x=4,y=2,z;
y+=x+3*4%5;
printf("y=%d,",y);
x<<=y; /*将x向左移y位后的值赋给x*/
printf("x=%d\n",x);
x*=y=z=2;
printf("x=%d y=%d z=%d\n",x,y,z);
x+=y+=z;
printf("x=%d y=%d,",x,y);
x=y==z+5;
printf("x=%d\n",x);
}
void main()
{
int x=4,y=2,z;
y+=x+3*4%5;
printf("y=%d,",y);
x<<=y; /*将x向左移y位后的值赋给x*/
printf("x=%d\n",x);
x*=y=z=2;
printf("x=%d y=%d z=%d\n",x,y,z);
x+=y+=z;
printf("x=%d y=%d,",x,y);
x=y==z+5;
printf("x=%d\n",x);
}