相关题目
1,3,5,
1,5,9,
391、下面程序的输出是______。
main( )
{ int t=1;
fun ( ;
390、当执行下面程序且输入:ABC时,输出的结果是______。
#include
#include
main( )
{ char ss[10]="12345";
strcat(ss,"6789");
gets( );printf( );
}
389、以下关于字符串的叙述中正确的是______。
388、有以下程序
#include
int fun( )
{ int n=0;
while(*s<='9'&&*s>='0') { n=10*n+*s-'0';s++;}
return( );
}
main()
{ char s[10]={ '6', '1','*','4','*', '9', '*', '0', '*'};
printf( );
}
程序的运行结果是______。
387、若有定义语句:int a[2][3],*p[3];,则以下语句正确的是______。
386、有以下函数
int aaa( )
{ char *t=s;
while( );
t-- ;
return( );
}
以下关于aaa函数的功能叙述正确的是______。
385、设有以下定义
union data
{ char d1; float d2; } demo;
则下面叙述中错误的是______。
384、有以下程序
#include
struct tt
{ int x; struct tt *y ; }*p;
struct tt a[4]={20,a+1,15,a+2,30,a+3,17,a};
main()
{ int i;
p=a;
for(i=1;i<=2;i++) { printf( ); p=p->y; }
}
程序的运行结果是______。
