单项选择题
下列对列的叙述中,正确的是
A.队列属于非线性表
B.队列按“先进后出”的原则组织数据
C.队列在队尾删除数据
D.队列按“先进先出”原则组织数据
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列函数模板的定义中,合法的是
下列函数模板的定义中,合法的是
点击查看答案&解析
单项选择题
有如下程序: #include <iostream> using namespace std; class test private: int a; public: test( )cout<< constructor <<endl; test(int
A.cout<<a<<endl;
test(const test &_test)
a=_test.a;
cout<<"copy constructor"<<endl;
~test()cout<<"destructor"<<endl;
;
int main( )
test A(3)
return 0;
程序的输出结果是A) 3
destructor
B.constructor
destructor
C.copy constructor
destructor
D.3
点击查看答案&解析
相关试题
Date
空格
0
下列程序的输出结果为: Ohject id=0 ...
friend:Date