【简答题】
以下程序输出的结果是[填空1]。#include stdio.hvoid main(){int x, i;for(i=1; i i++){ x=i;if(++x%2==0)if(++x%3==0)if(++x%7==0)printf(%d\n,x);}printf(“\n”);}
【单选题】
下面程序段的运行结果是()。intm[]={5,8,7,6,9,2},i=1;do{m[i]+=2;}while(m[++i]for(i=0;ii++)printf("%d",m[i]);
【单选题】
在一个长度为n的顺序存储线性表中,删除第i个元素(1£ i£n),需要前移( )个元素。
【单选题】
下列程序段执行后的结果是( )。
String s = new String(abcdefg);
for (int i=0; i<s.length(); i+=2){
System.out.print(s.charAt(i));
}
【单选题】
强度为I0的自然光通过两个偏振方向相交成30°的偏振片后,透射光的强度为I,则I:I0为()
【单选题】
I thought I knew the way, but ____I got lost.
【单选题】
I __________ going to the doctor, but I wish I hadn’t.
【单选题】
已知:inti;fori=0;i<=10;i++);如果表达式1即i=0缺省那么完成表达式1功能的语句可以)
【单选题】
设函数int& index(int a,int i)返回数组a中下标为i的元素,如果在整型数组int array[]={1,2,3},在执行index(array,1)+=3后,array中各元素值为()
【单选题】
--I was quite surprised that I was elected as the chairman of the meeting.--________________________________
④
You did an outstanding job and you really deserved it.