#include void maino int x=4, y=2, Z; printf("y=%od, y); x<<=y /*将x向左移y位后的值赋给x*/ printf("x=%od\n" X) printf("x=%d y=%d z=%d\\n, x,, z) X+=y+=z printf("x=%d y=%d, "x, y) x=y=z+5; printf("x=%dIn"x)
#include 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); }