A.88 6 36
B.88 1 2
C.90 2 4
D.94 4 16
[单选题]下列程序的输出结果是( )。 Dim a a=Array(1,2,3,4,5,6,7,8) i=0 For k=100 To 90 Step-2 s=a(i)^2 If a(i)>3 Then Exit For i=i+1 Next k Print k;i;sA.88 6 36B.88 1 2C.90 2 4D.94 3 16
[单选题]有以下程序: main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; for(p=a;p<a+10,p++)printf("%d,",*p); } 程序运行后的输出结果是 ______。A.1,2,3,4,5,6,7,8,9,0,B.2,3,4,5,6,7,8,9,10,1,C.0,1,2,3,4,5,6,7,8,9,D.1,1,1,1,1,1,1,1,1,1,
[单选题]有以下程序: main() { int a[10]={1,2,3,4,5,6,7,8,9,10),*p=&a[3],*q=p+2; printf("%d/n",*p+*q); } 程序运行后的输出结果是( )。A.16B.10C.8D.6
[单选题]设U={1,2,3,4,5,6,7,8},A={3,4,5},B={1,3,6},则集合{2,7,8}是()。A . AB . BC . CD . D
[单选题]下面程序的输出结果是 main() {inta[10]={1,2,3,4,5,6,7,8,9,10},*p=a; printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序的输出结果是 main() { int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a; printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下面程序的输出结果是main(){ int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;printf("%d/n",*(p+2));}A.3B.4C.1D.2
[单选题]下列程序运行后,输出结果为( )。 Dim a() a=Array(1,3,5,7,9) s=0 For i=1 To 4 s=s*10+a(i) Next i Print sA.1357B.3579C.7531D.9753
[单选题]定义如下变量和数组: int i,x[3][3]={1,2,3,4,5,6,7,8,9}; 则下面语句的输出结果是( )。 for(i=0;i<3;i++)printf("%d",x[i][2-i]);A.159B.147C.357D.369
[单选题]以下程序的输出结果是includeint a[3][3]={1,2,3,4,5,6,7,8,9,},*p;main(){p=(int*)ma以下程序的输出结果是 #include<stdio.h> int a[3][3]={1,2,3,4,5,6,7,8,9,},*p; main() { p=(int*)malloc(sizeof(int)); f(p,a); printf("%d/n”,*p); free(p);} f(int *s,intp [][3]) { *s=p[1][1];}A.1