填空题

一个类中有 ______ 个析构函数。

【参考答案】

A
<上一题 目录 下一题>
热门 试题

填空题
有如下的程序: #include<iostream> using namespace std; class AT friend ostream & operator<<(ostream&,AT); at; ostream& operator<<(ostream& os,AT)return os<<’@’; int main() cout<< MyHome <<at<< isHere.com ; 执行上面的程序将输出 ______。
填空题
C++在重载运算将中,如用成员函数重载一元运算符参数表中需要 ______ 个参数,如用友元函数重载一元运算符参数表中需要 ______ 个参数。
相关试题
  • 为了便于对照检查,测试用例应由输入数据和...
  • cerr与cout的差别在于:cerr是 _____...
  • 类继承中,缺省的继承方式是 ______。
  • 有如下程序: #include<iostream> usi...
  • 模板使我们可以用一个代码段指定一组相关函...