A.3
B.4
C.1
D.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[]={1,2,3,4,5,6,7,8,9,0,},*p; p=a; printf("%d/n",*p+9);}A.0B.1C.10D.9
[单选题]下面程序的输出结果是 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(){inta[4][4]={{1,3,5},{2,4,6},{3,5,7}};printf(";";%d%d%d%d/n";";,a[0][3],a[1][2],a[2][1],a[3][0];}A . 6B . 6789C . ’6’D . 789
[单选题]下列程序的输出结果是( )。 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 i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i<3;i++)printf("%d ",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
[单选题]下面程序的输出结果是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
[主观题]以下程序段的输出结果是(6)。main (){int a=2,b=3,c=4;a*=16+(b++)-(++c);printf("%d",a);}
[单选题]若有如下程序: main() {int a[3][4]={1,2,3,4,5,6,7,8,9}; printf("%d%d%d/n",a[0][1],a[1][2],a[2][3]); } 则程序运行后的输出结果是( )A.270B.480C.160D.不定值