摘要: 看一道C++面试题: 给出下述代码,分析编译运行的结果,并提供3个选项: A.编译错误 B.编译成功,运行时程序崩溃 C.编译运行正常,输出10 class A { private: int value; public: A(int n){ value = n;} A(A other){ value 阅读全文
posted @ 2019-09-10 22:02 _程序兔 阅读(2103) 评论(0) 推荐(0) 编辑