有以下程序 #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)); 程序的运行结果是
查看答案
张子和指出:“《内经》一书,惟以______为贵。”他所谓的“陈堇去而肠胃洁,______,”即是通过祛除病邪,达到恢复人体血气流通的目的。
阅读下列程序,则程序的输出结果为______。 #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’;
企业发生的坏账损失、产成品盘亏损失不能带来收入,因此不能作为费用处理。 ( )
A. 对
B. 错
以下程序的输出结果是 main( ) int a,i;a=0; for(i=1;i<5;i++) switch(i) case 0: case 3:a+=2; case 1: case 2:a+=3; default:a+=5; printf("%d\n",a); A)31 B)13 C)10 D)20