题库 第5982页
单选题:若有说明: char *language[]={“FORTRAN”,“BASIC”,“PASCAL”,“JAVA”,“C”};
若有说明: char *language[]={“FORTRAN”,“BASIC”,“PASCAL”,“JAVA”,“C”}; 则以下不正确的叙述是 ( )。 @[D](2)A. language+2表示字符串"PASCAL"的首地址…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program: ```#define N 10#define M 5int main( ){ int pa,pb, value; int a[M]…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program: ```#include void sub(int s[], int y){ static int t=3; y=s[t];…
单选题:下列程序的输出结果是
下列程序的输出结果是 @[D](2)```int main( ) { char *p1, *p2, str[50]="xyz"; p1="abcd"; p2="ABCD"; strcpy(str+…
单选题:执行以下程序后,y的值是:
执行以下程序后,y的值是: @[C](2)```int main ( ) { int a[]={2,4,6,8,10}; int y=1,x,*p; p=&a[1]; for(x=0;x˂3;x++)…
单选题:Determine the displaying of the following program:
Determine the displaying of the following program:```#includeint main(){ int a[5],i; for(i=0; i˂5; i++) { a[…
单选题:```
```int main( ) { char ch[2][5]={"6934","8254"},*p[2]; int i,j,s=0; for(i=0;i˂2;i + +) p[i]=ch[i];…
单选题:若有以下定义和语句:
若有以下定义和语句:```int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;```则不能表示a数组元素的表达式是______。 @[B](2)A. *pB. a[10]C. *aD. a[p-a]A.*pB.…
单选题:若有以下说明,且0
若有以下说明,且0˂=i˂10,则____是对数组元素地址的正确表示: @[D](2)```int a[ ]={1,2,3,4,5,6,7,8,9,10},*p=a,i ;```A. &(a+1)B. a++C. &pD. &p[i ]…
单选题:若要用下面的程序片段使指针变量p指向一个存储整型变量的动态存储单元:
若要用下面的程序片段使指针变量p指向一个存储整型变量的动态存储单元:```int *p;p=__________ malloc( sizeof(int));```则应填入: @[D](2)A. intB. int *C. (*int)D.…