这段代码为什么输出0,0,1
int logic; int a = 1;
int b = 2;
int c = 3;
logic = a+b>c&&b<=c;
printf("logic = %d\n", logic);
logic = a>=b+c||b==c;
printf("logic = %d\n", logic);
logic = !(a<c)+b!=1&&(a+c)/2;
printf("logic = %d\n", logic);
getchar();
}