皮皮学,免费搜题
登录
搜题
【单选题】
下列给定,函数fun的功能是:逆置数组元素中的值。例如:若a所指数组中的数据为:1、2、3、4、5、6、7、8、9,则逆置后依次为:9、8、7、6、5、4、3、2、1。形参n给出数组中数据的个数。 #include void fun(int a[], int n) { int i,t; for (i=0; i { t=a[i]; a[i] = a[n-1-i]; /**********found**********/ ______ = t; } } main() { int b[9]={1,2,3,4,5,6,7,8,9}, i; printf("\nThe original data :\n"); for (i=0; i<9; i++) printf("%4d ", b[i]); printf("\n"); fun(b, 9); printf("\nThe data after invert :\n"); for (i=0; i<9; i++) printf("%4d ", b[i]); printf("\n"); }
A.
a[n-1]
B.
a[n]
C.
a[n-i-1]或a[n-1-i]
D.
a[n-i]
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】After that, he knew he could __ any emergency by doing what he could to the best of his ability.
A.
get away with
B.
get on with
C.
get through
D.
get across
【单选题】Why does the professor say this:
A.
He is introducing a new major point.
B.
He is trying to get the students to participate.
C.
He is drawing a conclusion about engineering.
D.
He is disagreeing with his previous comment.
【简答题】A.He saves much money because he needn't drive car or take bus. B.He doesn't have to get up on time every day. C.He can easily earn much money. D.He has a lot of time to cook a meal at home.
【单选题】It was ____ the ambulance came ____ to the hospital. [     ]
A.
until; that he got sent
B.
until; did he get sent
C.
not until; that the boy was sent
D.
not until; did he got sent
【单选题】Ge You is ______ interesting actor. He has lots of fans.
A.
a         
B.
不填          
C.
an
【单选题】He was facing charges on forgery in a court of law but he hired a good lawyer to_____.
A.
get by
B.
get up
C.
get off
D.
get through
【判断题】发出的第一封感谢信必须有总经理亲笔签名。
A.
正确
B.
错误
【多选题】习近平新时代中国特色社会主义思想贯穿的观点包括()
A.
朴素唯物主义基本观点
B.
客观唯心主义基本观点
C.
辩证唯物主义的基本观点
D.
历史唯物主义的基本观点
【单选题】符合中国国情的全面深化改革的方法是()
A.
摸着石头过河
B.
对原有制度的根本变革
C.
对原有体制进行修补
D.
顶层设计与摸着石头过河相结合
【单选题】在“ge、ke、he”这组音节中,不是音位的是()
A.
“g”
B.
“k”
C.
“h”
D.
“e”
相关题目: