![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
:从1,2,3,4,5,6,7,8,9中任意选出三个数,使它们的和为偶数,则共有()种不同的选法。
A.40
B.41
C.44
D.46
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.40
B.41
C.44
D.46
A.[0,1,2,3,4,5,6,7,8]
B.[1,2,3,4,5,6,7,8,9]
C.[0]
D.[0,1]
A.[3,4,5,6,7]
B.[3,4,5,6,7,8]
C.[4,5,6,7]
D.[5,6,7,8]
A.[1,2,3,4,5,6,7,8,9]
B.[1,2,3,4,5,6,7,8]
C.[1,3,5,7]
D.[1,3,5,7,9]
有下列程序:
main
{int i,s=0,t[]={1,2,3,4,5,6,7,8,9};
for(i=0;i<9;i+=2)s+=*(t+i);
printf("%d\n",s);
}
程序执行后的输出结果是()。
A.A.45
B.20
C.25
D.36
定义如下变量和数组: int i; int 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.1 5 9
B.1 4 7
C.3 5 7
D.3 6 9
定义如下变量和数组:
int k;
int a[3][3]=(1,2,3,4,5,6,7,8,9);
则下面语句的输出结果是( )。
for(k=0;k<3;k++)
printf("%d",a[k][2-k]);
(A)3 5 7 (B)3 6 9 (C)1 5 9 (D)1 4 7
A.1 5 9
B.7 5 3
C.3 5 7
D.5 9 1
A.二进制数有两个数码0和1
B.八进制数有八个数码0,1,2,3,4,A,B和C
C.十进制数有十个数码1,2,3,4,5,6,7,8,9和10
D.十六进制数有十六个数码0,1,2,3,4,5,6,7,8,9,10,11,12,13,14和15