有如下程序:include <iostream>using namespace std;class AA {int n;public:AA(int k):n(k) {

有如下程序: include <iostream> using namespace std; class AA { int n; public: AA(int k):n(k) { } int get() {return n;} int get()const {retnm n+1; } int main() { AA a(5); const AA b(6); cout <<a.get()<<b.get(); return 0; }执行后的输出结果是______ 。 A.55 B.57 C.75 D.77

时间:2023-01-28 14:04:00

相似题目