正在加载图片...
(8)以下程序的输出结果是【8】 maino 在线数育 学赛1在线育 w for(i-3)ty cn educity cn t sum=0 forf=l;j<=ij++) sum+=i"j printf("%d\n", sum (9)以下程序的输出结果是【9】。 include <stdio. h> intj,a={1,3,5,7,9,11,13,15.p=a+5; for(j=3; j: j-) t switch(j) case case 2: printf("%d,*p++): break; 学骞平是曹 学赛1在育 educity cn ww educity cn (10)以下程序的输出结果是【10】 #include <stdio. h> # N 5 int fun(int *s, int a, int n) t int j: while(a!=sDD)j-: retur re int sIN+I;;int for(k=I; k<N; k++)s[] k+l; printf(" %dn", fun(s, 4, N)) 学赛1在线育 www educity cn www educity cn 二级C语言程序设计试卷第10页(共11页) 学赛网08-920
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有