皮皮学,免费搜题
登录
搜题
【单选题】
下面程序的主要功能是将数组 a 中存放的 5 个整型数据逆序后在屏幕上输出。按要求在 ________ 处填写适当的内容,使程序完整并符合题目要求。 1. #include 2. void fun(int b[], int i, int j) 3. { 4. int t; 5. if(i < j) 6. { 7. ________; 8. b[i] = b[j]; 9. ________; 10. fun(b, i + 1, j - 1); 11. } 12. } 13. int main(void) 14. { 15. int i, a[5] = {1, 2, 3, 4, 5}; 16. ________; 17. for(i = 0; i < 5; i++) 18. printf("%d\t", a[i]); 19. printf("\n"); 20. return 0; 21. }
A.
第 7 行: t = b[i] 第 9 行: b[j] = t 第 16 行: fun(a, 0, 4)
B.
第 7 行: t = b[i] 第 9 行: b[i] = t 第 16 行: fun(a, 0, 5)
C.
第 7 行: t = b[i] 第 9 行: b[i] = t 第 16 行: fun(a, 1, 5)
D.
第 7 行: t = b[j] 第 9 行: b[j] = t 第 16 行: fun(a, 1, 4)
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】1937年11月,日军攻占上海,国民政府宣布 。
【单选题】1937 年11月,日军攻占上海,国民政府宣布迁都 ( )。
A.
武汉
B.
成都
C.
长沙
D.
重庆
【简答题】For a more detailed treatment of spectral methods, the reader is referred to one of the many books available on the application of spectroscopic methods to organic chemistry.
【单选题】Many of the methods are ______ ( new and creative).
A.
resources
B.
productive
C.
innovative
D.
solution
【判断题】1937年11月,日军攻占上海,国民政府宣布迁都重庆。
A.
正确
B.
错误
【多选题】为降低油耗,必须控制尾气排放。汽油燃烧时会产生什么气体?
A.
CO2
B.
CO
C.
HC
D.
NOX
【单选题】1937年11月,日军攻占上海,国民政府宣布迁都( )。
A.
北平
B.
重庆
C.
南京
D.
天津
【单选题】私人垄断资本是在( )和( )的基础上形成的。
A.
劳动集中、商品集中
B.
生产集中、商品集中
C.
劳动集中、资本集中
D.
生产集中、资本集中
【单选题】Many of the methods are new and creative.
A.
decisive
B.
innovative
【判断题】Batch production is one of the many methods of organizing production.
A.
正确
B.
错误
相关题目: