皮皮学,免费搜题
登录
搜题
【单选题】
以下函数sort的功能是对a所指数组中的数据进行由大到小的排序: void sort(int a[],int n) {int i,j,t for(i=0i<n-1i++) for(j=i+1i<nj++) if(a[i]<a[j]) {t=a[i]a[i]=a[j]a[j]=t} } main() {int aa[10]={1,2,3,4,5,6,7,8,9,10},i sort(&aa[3],5) for(i=0i<10i++) printf('%d,',aa[i]) printf('/n') } 程序运行后的输出结果是( )。
A.
1,2,3,4,5,6,7,8,9,10,
B.
10,9,8,7,6,5,4,3,2,1,
C.
1,2,3,8,7,6,5,4,9,10,
D.
1,2,10,9,8,7,6,5,4,3,
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Which of the following statements can best summarize the main idea of the second paragraph?
A.
The oceans contain rich resources.
B.
The resources of the oceans should be protected.
C.
Most living things on earth can be found in the oceans.
D.
The oceans can serve as a solution to the serious problem of population.
【单选题】对于n个元素组成的线性表,建立一个有序单链表的时间复杂度是( )
A.
O(1)
B.
O(n)
C.
O(n2)
D.
O(nlog2n)
【单选题】Which statement can best summarize the main idea of the second paragraph?
A.
The Swedes are quite friendly peoples.
B.
Sweden is a country with very strict rules.
C.
The Swedes are peoples with conservative character.
D.
The Swedes are peace - loving peoples.
【简答题】Summarize the main content of Story C
【简答题】Which of the following can best summarize the main idea of this text?( ) [A] The moral decaying deserves more research by sociologists. [B] Marriage break-up stems from inequalities. [C] Husband a...
【单选题】患者女性,26岁。反复出现皮肤黏膜出血、月经过多半年来院就诊,初步诊断为ITP。有助于本病临床诊断的最主要的实验室检查结果是
A.
出血时间正常
B.
血小板计数减少
C.
骨髓巨核细胞减少
D.
凝血时间延长
【简答题】Summarize the main idea of Story C
【简答题】患者,女性,36岁。主因乏力、头晕,心悸伴注意力不集中,记忆力减退半年就诊,考虑为缺铁性贫血。实验室检查结果应为A、红细胞计数减少 B、血小板计数减少 C、白细胞计数减少 D、骨髓增生低下 E、淋巴细胞数增多 其外周血红细胞形态主要为A、巨红细胞 B、正常红细胞正常色素 C、小红细胞低色素 D、点彩红细胞 E、球形红细胞 口服铁剂治疗有效的早期指标是A、红细胞计数升高 B、血红蛋白量增多 C、网织...
【单选题】在Windows XP的“我的电脑”窗口中,若已选定硬盘上的文件或文件夹,并按了Del键和“确定”按钮,则该文件或文件夹将( )。
A.
被删除并放入“回收站”
B.
不被删除也不放入“回收站”
C.
被删除但不放入“回收站”
D.
不被删除但放入“回收站”
【单选题】The author quotes Leibenluft's comment in the last paragraph to______.
A.
summarize the main idea of the passage
B.
recommend an alternative perspective to look at the issue of depression
C.
express the author's pity about the slow improvement on the cure of depression
D.
praise the great efforts made by researchers on the subject of depression
相关题目: