阿摩線上測驗 登入

試題詳解

試卷:97年 - 2008年4月计算机等级考试— 二级—《C语言 》#13774 | 科目:计算机等级考试— 二级—《C语言 》

試卷資訊

試卷名稱:97年 - 2008年4月计算机等级考试— 二级—《C语言 》#13774

年份:97年

科目:计算机等级考试— 二级—《C语言 》

33)有以下程序 #include #include voidfunchar*s[],intn) {char*t;inti,j; fori=0;istrlens[j])){t=s[i];s[i]=s[j];s[j]=t;}} main) {char*ss[]={“bcc”,”bbcc”,”xy”,”aaaacc”,”aabcc”}; funss,5);printf“%s,%s ”,ss[0],ss[4]);}程序的运行结果是
(A)xy,aaaacc
(B)aaaacc,xy
(C)bcc,aabcc
(D)aabcc,bcc
正確答案:登入後查看