1 #include <stdio.h> 2 #define product(x) ((x)*(x)) 3 int main(int argc, char **argv) { 4 printf("Hello, World!\n"); 5 6 int a = 5; 7 int b = 3; 8 int c = !a&&b++; 9 printf("a = %d,b = %d ",a,b); 10 return 0; 11 12 }
由于先运行!a,这个为非之后,后面就不会再运算了,所以正确答案是
5,3