题目内容

若有以下程序: #include〈iostream〉 using namespace std; int main() int data[4],i,j,temp; for (i=O; i<4; i++) cin>>data[i]; for (i=1; i<4; i++) j = i-1; temp = data[i]; while (data [j ] >temp&&j >=0) data[j+1] = data[j]; j--; data[j+1] = temp; for(i=O;i<4;i++) cout〈〈data[i]〈〈" "; cout〈〈end1; return 0;

A. 2843
B. 2348
C. 8243
D. 8432

查看答案
更多问题

To finish any race you have to leave the starting line and follow through to the finish line. Most people create their own failure by either not getting started or not following through, or both. To get rich, successful, and happy, you must have the patience and persistence to cross the finish line. You must not only get started, but also follow through. This may sound obvious, but it’s still the cause of most failures.

社会治安综合治理的目标是:要使已发生的违法犯罪行为受到应有的制裁,要防范一切可能的治安危害发生。同时,力求少产生犯罪的社会条件,带动社会的改造,在促进精神文明建设、创造良好的社会秩序、带来经济效益等方面多产生积极的影响。( )

A. 对
B. 错

在完全垄断市场上,平均收益曲线与需求曲线重合。( )

A. 对
B. 错

“在实际上受党委直接领导”,是指从地方公安机关与同级地方党委的关系来说,公安机关必须置于党委的实际领导之下。( )

A. 对
B. 错

答案查题题库