正确的说明语句是()。
A.int a[3]=(1,2,3);
B.int a=b=0;
C.int a,longb;
D.char c=‘/0’;
A.int a[3]=(1,2,3);
B.int a=b=0;
C.int a,longb;
D.char c=‘/0’;
A.ptr1=&m;ptr2=&ptr1
B.ptr1=&m;ptr2=n;*ptr2=*ptr1
C.ptr1=&m;ptr2=ptr1
D.ptr1=&m;*ptr2=*ptr1
A.cp+1
B.*(cp+3)
C.*(cp+1)+3
D.*(*cp+2)
A.p是一个指向一维数组的指针变量
B.p是指针变量,它指向一个整型数据的指针
C.p是一个指向函数的指针变量,该函数的返回值为整型数
D.p是一个指针函数,该函数的返回值为指针值
A.int a[10]=(0,0,0);
B.int a[10]={};
C.int a[2]={0,1,2};
D.int a[10]={10*1};
A.int [][]a = new int[10][];
B. int a[10][10] = new int[][];
C. int []a[] = new int[10][10];
D. int a[][] = new int[10][10]
A、int rows=10; int []dataArray=new int[rows];
B、int []dataArray=int[100];
C、float dataArray []=new float[10];
D、float []dataArray =new float[100];
设x和y均为int型变量,则以下for循环中的scanf语句最多可执行的次数是【】.for(x=0,y=0;y!=123&&x<3;x++)scanf("%d",&y);
A.a的值是字符C'
B.a的值是浮点型
C.不允许字符型和浮点型相加
D.a的值是字符“A”的ASCII值加上1