有以下程序:#include <stdio. h>main (){char a :'a',b; printf("% c," , + + a); printf("%c
有以下程序: #include <stdio. h> main () { char a :'a',b; printf("% c," , + + a); printf("%c \n" ,b =a++); }程序运行后的输出结果是()。
A.b,b
B.b,c
C.a,b
D.a,c
有以下程序: #include <stdio. h> main () { char a :'a',b; printf("% c," , + + a); printf("%c \n" ,b =a++); }程序运行后的输出结果是()。
A.b,b
B.b,c
C.a,b
D.a,c
有以下程序
#include<stdio.h>
main()
{ int a=7;
while(a--);
printf("%d\n",a);
}
程序运行后的输出结果是
A.-1
B.0
C.1
D.7
有以下程序: #include<stdio.b> void fun(char c) { if(c>X)fun(c-1): printf("%C",c); } traia() { fun(z);} 程序运行后的输出结果是()
A.xyz
B.wxyz
C.xzy
D.zvx
有以下程序#include <stdio.h>main() { int x=1, y=2, z=3; if(x>y) if(y<z) printf("%d", ++z); else printf("%d", ++y); printf("%d\n", x++);}程序的运行结果是A.331 B.41 C.2 D.1
有以下程序
#include<stdio.h>
main()
{ char ch[3][5]=("AAAA","BBB","CC");
printf("%s\n",ch[1]);
}
程序运行后的输m结果是
A.AAAA
B.CC
C.BBBCC
D.BBB
有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y&~z); 程序运行后的输出结果是()。
A.3
B.2
C.1
D.0
有以下程序
#include<stdio.h>
#define S(x)4*(x)*x+1
main()
{int k=5,j=2;
printf(“%d\n”,S(k+j));
}
程序运行后的输出结果是
A.197
B.143
C.33
D.28
有以下程序: #include<stdio.h> #define N 8 void fun(int*x,int i) {*x=*(x+i);) main() { int a[N]={1,2,3,4,5,6,7,8},i; fun(a,2); for(i=0;i<N/2;i++) {printf("Ha",a[i]);} printf("\n"); } 程序运行后的输出结果是()。
A.1313
B.2234
C.3234
D.1234
A.-11 is a positive odd number.
B.-11 is a negative odd number.
C.-11 is a positive even number.
D.11 is a negative even number.