题目
What is the main consideration when deciding to invest in shares?
A.How much you pay for the shares.
B.How quickly you can make a profit.
C.How willing you are to take risks.
D.How financially secure you arc.
第1题
#include"stdio.h"
main()
{int a,b;
for(a=1,b=1;a<=100;a++)
{if(b>=20)break;
if(b%3==1){b+=3;continue;}
b- =5;}
printf("%d\n",a);}
程序运行结果是:______
第2题
A.ISUP
B.TCAP
C.SCCP
第3题
有如下程序:
#include
using namespace std;
class Con
{
char ID;
public:
Con():ID('A'){cout<<1;}
Con(char I
D . :ID(I
D . {cout<<2;}
Con(Con&
C . :ID(c.getID()){cout<<3;}
char getID() const{return ID;}
};
void show(Con
C . {cout<
int main()
{
Con c1;
show(c1);
Con c2('B');
show(c2);
return 0;
}
执行上面程序的输出是 【 10 】 。
第4题
main {inta,b; for (a=1,b=1;a<=100;a++) { if(b>=20) break; if(b%3==1) {b+=3; continue; } b-=5; } } 程序的输出结果a的值为__________。
第5题
下面程序的运行结果是 #include<iostream.h> void main() { int i=1; while(i<=8) if (i%3!=2)continue; else cout <<i; }
A.25
B.36
C.258
D.369
第6题
第7题
有以下程序:
main()
{
int a=1,b;
for(b=1 ;b<=10;b++)
{
if(a>=8) break;
if(a%2==1)
{ a+=5; continue; }
a-=3;
}
printf("%d\n", b);
}
程序运行后的输出结果是()。
A.3
B.4
C.5
D.6
第8题
According to the passage, what attracts man's greater attention?
A. Fly ash.
B. The construction of dams, bricks, and roads.
C. Extracting aluminum, silicon, and magnetic from ash.
D. The available technology.
第9题
下列类的构造函数不能通过编译,正确的构造函数应该是______。
include<iostream.h>
class Sample
{
public:
int n;
const int con;
Sample(int m) {con=m+1;n=m;}
void disp() {cout<<"normal:n="<<n<<endl;}
void disp()const {cout<<"static:n="<<n<<endl;}
};
void main()
{
const Sample a (12);
Sample b (13);
a.disp();
b.isp();
cout<<a.n<<","<<b.con<<endl;
}
第10题
What effect is achieved from soaking an anchor ________.
A.It allows the bottom soil to consolidate
B.It gives the palms time to trip the anchor
C.It stabilizes the mooring system
D.It lubricates the anchor for better tripping
第11题
设有如下函数定义,则输出结果为_______。 char*fun(char*str) { char*p=str; while(*p) {if(*p>'d')continue; p++; } return p; } main() { printf("%s\n",fun("welcome!")); }
A.welcome
B.come!
C.w
D.程序进入死循环
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!