如题目或答案有误,请通过BUG反馈告知我们修正,谢谢!

1、凡在函数中未指明存储类别的变量,其隐含的存储类别为

auto 型

static 型

extern 型

register 型

2、若有以下定义和语句:
int w[2][3],(*pw)[3];pw=w;
则对w数组元素的非法引用是

*(w[0]+2)

*(pw+1)[2]

pw[0][0]

*(pw[1]+2)

3、若有以下定义和语句:
int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a;
则不能表示a数组元素的表达式是

*p

a[10]

*a

a[p-a]

4、函数调用:strcat(strcpy(str1,str2),str3)的功能是

将串str1复制到串str2中后再连接到串str3之后

将串str1连接到串str2之后再复制到串str3之后

将串str2复制到串str1中后再将串str3连接到串str1之后

将串str2连接到串str1之后再将串str1复制到串str3中

5、以下对枚举类型名的定义中正确的是

enum a={one,two,three};

enum a{one=9,two=-1,three};

enum a={″one″,″two″,″three″};

enum a{″one″,″two″,″three″};

6、下列程序段的输出结果是
void fun(int *x, int *y)
{ printf("%d %d", *x, *y); *x=3; *y=4;}
main()
{ int x=1,y=2;
fun(&y,&x);
printf("%d %d",x, y);
}

2 1 4 3

1 2 1 2

1 2 3 4

2 1 1 2

7、以下程序的输入结果是
main( )
{  int i=010,j=10,k=x10;
  printf("%d,%d,%d ",i,j,k);
}

8,10,16

8,10,10

10,10,10

10,10,16

8、以下c语言函数声明中,不正确的是:

void fun (int x, int y);

fun (int x, int y);

int fun (int x,y);

char *fun (char *s);

9、正确的标识符是:

?a

a=2

a.3

a_3

10、若fp是指向某文件的指针,且feof(fp)的返回值是非零值,则表示:

已读到此文件末尾

未读到此文件的末尾

此文件已关闭

此文件尚未被打开