填空题
当循环队列非空且队尾指针等于队头指针时,说明循环队列已满,不能进行入队运算。这种情况称为
____
____
_
。
【参考答案】
上溢
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
若有以下程序:#include〈iostream〉using namespace std;class Base{public:Base ( ){x=0;}int x;};class Derived1 : virtual public Base{public:Derived1(){x=10;}};class Derived2 : virtual public Base{public:Derived2(){x=20;}};class Derived : public Derived1,protected Derived2{ };int main(){Derived obj;cout〈〈obj.x〈〈end1;return 0;}该程序运行后的输出结果是______。
点击查看答案
填空题
Staff类含有int型数据成员ID,两个Staff对象相等是指它们的ID相同。下面的函数重载了运算符“==”,它用来判断两个Staff对象是否相等,相等时返回true,否则返回false。请将横线处缺失部分补充完整。bool Staff::Staff==(const Staff &s){return(______);}
点击查看答案
相关试题
已知__--X树中序遍历序列是cbade,它的...