若有以下程序: #include<iostream> using namespa

题型:单项选择题

问题:

若有以下程序:
#include<iostream>
using namespaces std;
class A

public:
A()
A(int i)

xl=i;

void dispa()

cout<<"x1="<<x1<<",";

private:
int x1;

class B:public A

public:
B()
B(int i):A(i+10)

x2=i;

void dispb()

dispa();
cout<<"x2="<<x2<<endl;

private:
int x2;

int main)

B b(2);
b.dispb():
return 0;

程序运行后的输出结果是

A.x1=10,x2=2

B.x1=12,x2=10

C.x1=12,x2=2

D.x1=2,x2=2

考点:计算机等级考试C++二级C++笔试
题型:单项选择题

She'll go there alone if I _____ free tomorrow.[ ]

A. don't be

B. not be

C. am not be

D. am not

题型:单项选择题

颅顶凹陷骨折,须手术撬起复位的是()

A.范围大于3~5cm,深度小于1cm

B.范围大于3~5cm,深度超过1cm

C.所有的凹陷性颅骨骨折

D.位于静脉窦附近的骨折

E.合并脑震荡

题型:单项选择题

当石灰加到水中时,水中()含量首先减少。

A、CaCO3

B、MgCO3

C、MgCl2

D、游离CO2

题型:单项选择题

教学过程的中心环节是( )。

A.巩固知识
B.领会知识
C.运用知识
D.检查知识

题型:单项选择题

结合实际论述如何培养学生的学习兴趣?

更多题库