main() { int a,b=0,c=1,d=1; a=++b&&++c||++d; printf("%d %d %d",b,c,d); //1 2 1 b=0,c=1,d=1; a=b&&++c||++d; printf("%d %d %d",b,c,d); //0 1 2 }
为什么第二个printf给出答案0 1 2而不是0 2 1?
c operator-precedence
c ×1
operator-precedence ×1