题目内容

有下面程序段 #include "stdio.h" #include "string.h" main( ) char a[3][20]="china","isa","bigcountry!"; char k[100]=0,*p=k; int i; for(i=0;i<3;i++) p=strcat(p,a[i]); i=strlen(p) ; printf("%d\n",i); 则程序段的输出结果是

A)18
B)19
C)20
D)21

查看答案
更多问题

预收贷款虽然与应付账献均属于负债项目,但与应付账款不同,它通常不需要以货币偿付。( )

A. 对
B. 错

有以下程序 #include <stdio.h> int fun(char s[ ]) int n=0; while(*s<=’9’&&*s>=’0’) n=10*n+*s-’0’;s++; retum(n); main( ) char s[10]=’6’,’1’,’*’,’4’,’*’,’9’,’*’,’0’,’*’; printf("%d\n",fun(s)); 程序的运行结果是

A)9
B)61490
C)61
D)5

张子和指出:“《内经》一书,惟以______为贵。”他所谓的“陈堇去而肠胃洁,______,”即是通过祛除病邪,达到恢复人体血气流通的目的。

阅读下列程序,则程序的输出结果为______。 #include "stdio.h" struet ty int data; char c;; main( ) street ty a=30,’x’; fun(a); printf("%d%c",a.data,a.c); fun(struct ty b) b.data=20; b.c=’y’;

答案查题题库