皮皮学,免费搜题
登录
搜题
【简答题】
给定,函数fun的作用是:统计整型变量m中各数字出现的次数,并存放到数组a中,其中:a[0]存放0出现的次数,a[1]存放1出现的次数,...... a[9]存放9出现的次数。 例如,若m为14579233,则输出结果:0,1,1,2,1,1,0,1,0,1, #include void fun( int m, int a[10]) { int i; for (i=0; i<10; i++) a[i] = 0; while (m > 0) { i = m%10; a[i]++; /**********found**********/ m = ___3___; } } main() { int m, a[10],i; printf("请输入一个整数 : "); scanf("%d", &m); fun(m, a); for (i=0; i<10; i++) printf("%d,",a[i]); printf("\n"); } A. m%10 B. m*10 C. m-- D. m/10
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】Logic was further by Al-Farabi who categorized it into two separate groups (idea and ). Later, Avicenna revived the study of logic and developed relationship between temporalis and the ( 时间与意义 ). In t...
【简答题】“三言”的编者是________。
【简答题】Logic was further 7 by Al-Farabi who categorized it into two separate groups (idea and 8 ). Later, Avicenna revived the study of logic and developed relationship between temporalis and the 9 ( 时间与意义 )...
【简答题】Angela Suleman said that the house was full of toys that Nadya had bought. She didn't five her mother any money for food or electricity.
【单选题】明代“三言”的编纂者是谁?
A.
凌梦初
B.
天花藏主人
C.
冯梦龙
D.
李渔
【单选题】Two separate groups of managers are given a problem to solve, and then each group presents its proposed solution to top management in an attempt to determine the best course of action. This process is...
A.
devil's advocacy.
B.
groupthink.
C.
dialectical inquiry.
D.
classical   decision-making.
【单选题】明代“三言”的编纂者是谁?
A.
冯梦龙
B.
李渔
C.
天花藏主人
D.
凌梦初
【简答题】测定灰分含量时为什么要先炭化后灰化?
【单选题】明代“三言”的编纂者是谁?
A.
冯梦龙
B.
凌梦初
C.
李渔
D.
天花藏主人
E.
冯梦龙
【单选题】明代“三言”的编纂者是谁?
A.
冯梦龙
B.
凌梦初
C.
李渔
D.
天花藏主人
相关题目: