填空题

按照逻辑结构分类,结构可以分为线性结构和非线性结构,栈属于______。

【参考答案】

线性结构
<上一题 目录 下一题>
热门 试题

填空题
树中度为零的结点称为______。
单项选择题
有如下程序: #include<iostream> using namespace std; class sample private: int x,y; public: sample(int i,int j) x=i; y=j; void disp() cout<< disp1 <<endl; void disp()const cout<< disp2 <<endl; ; int main() const sample a(1,2); a.disp(); return 0; 该程序运行后的输出结果是( )。
A.disp1
B.disp2
C.disp1 disp2
D.程序编译时出错
相关试题
  • 执行以下程序后,输出结果第二行的内容是_...
  • ______是一种特殊的成员函数,它主要...
  • 有如下程序: #include<iostream> usi...
  • 有如下类声明: class TestClass int i...
  • C++中只有两个逻辑常量:true和____...