C=A∪B
C=A∩B
A=B=C
A=B∪C
第1题:
以下不能正确定义二维数组的选项是 ______。
A.int a[2][2]={{1},{2}};
B.int a[][2]={1,2,3,4};
C.int a[2][2]={{1},2,3};
D.int a[2][]={{1,2},{3,4}};
第2题:
已知vec=[[1,2],[3,4]],则表达式[colforrowinvecforcolinrow]的值为__________________________。
第3题:
有以下程序
#include <stdio.h>
struct ord
{ int x,y; } dt[2]={1,2,3,4};
main()
{ struct ord *p=dt;
printf("%d,",++p->x); printf("%d\n",++p->y);
}
程序的运行结果是
A)1,2
B)2,3
C)3,4
D)4,1
第4题:
方程f(x)=x23-11.1x22+38.8x-41.77=0的有根区间为(9)。
A.[1,2]
B.[3,4]
C.[1,2]、[3,4]
D.[1,2]、[3,4]、[5,6]
第5题:
有以下程序 #include<stdio.h> struct ord { int x,y;} dt[2]={1,2,3,4}; mare() { struct ord*p=dt; printf("%d,",++p->x); printf("%d\n",++p->y); } 程序的运行结果是______。
A.1,2
B.2,3
C.3,4
D.4,1
第6题:
已知vec=[[1,2],[3,4]],则表达式[[row[i]forrowinvec]foriinrange(len(vec[0]))]的值为_________________________。
第7题:
有下列程序: #include<stdi0.h> structord {intx,y;}dt[2]={1,2,3,4}; voidmain( ) {structord*p=dt; printf("%d,",++P->x);printf("%d,",++P ->y); } 程序的运行结果是( ).
A.1,2
B.2,3
C.3,4
D.4,1
第8题:
以下不能正确定义二维数组的选项是()。 A)int a[2][2]={{1},{2}}; B)int a[][2]={1,2,3,4}; C)int a[2][2]={{1},2,3}; D)int a[2][]={{1,2},{3,4}};
第9题:
有以下程序
#include<stdio.h>
struct ord
{int x,y;} dt[2]={1,2,3,4};
main()
{
struct ord*p=dt;
printf(“%d,”,++(p一>x));printf(“%d\n”,++(p一>y));
}
程序运行后的输出结果是
A.1,2
B.4,1
C.3,4
D.2.3
第10题: