单项选择题

有以下程序
main()
char a[]='a','b','c','d','e','f','g','h','\0';int i,j;
i=sizeof(

A.;j=strlen(a);
&nbs
<上一题 目录 下一题>
热门 试题

单项选择题
若有以下定义和语句 struct a int n,m;; struct a st[3]=1,20,2,19,3,21; struct a*p=st; 则以下错误的引用是
A.(p++)->n;
B.st[0].n;
C.(*p).n;
D.p=&st.m;
单项选择题
请阅读以下程序: #include<stdio.h> void fun(int s[]) static int j=0; do s[j]+=s[j+1]; while(++j<2); main() int k,a[10]=1,2,3,4,5; for(k=1;k<3;k++)fun(
A.;
for
相关试题
  • 下列程序的运行结果为 #include<stdio....
  • 以下程序中函数sort的功能是对a数组中的数...
  • 阅读如下程序段 #include stdio.h voi...
  • 有一堆零件(100到200之间),如果分...
  • 以下描述中正确的是