以下程序的输出结果是____。void main(){int z, i = 0, j = 6;z = i++ && j++;printf("%d,%d,%d\n", i, j, z);}
查看答案
下面程序的输出是。int f(){int i = 1, s = 1;s += i;return s;}void main(){int i, a = 0;for(i = 0; i < 5; i++)a += f();printf("a=%d\n", a);}
从键盘中输入-1,以下程序输出的结果是。void main(){int x, y;scanf("%d", &x);y = 0;if(x >= 0)y = 1;elsey = -1;printf("x=%d,y=%d", x, y);}
以下程序的输出结果是。void main(){int n = 4;while(n--)printf("%d,", n);}