19笔试真题:看程序写结果,含有内嵌对象的类的构造函数调用次序
摘要:
看程序写结果,含有内嵌对象的类的构造函数调用次序 #include <iostream> using namespace std; class Student1{ public: Student1() {cout << "Student1+" << endl; } ~Student1() { cou 阅读全文
posted @ 2024-03-17 18:40 ᶜʸᵃⁿ 阅读(5) 评论(0) 推荐(0) 编辑