题目:
有如下程序: #include<iostream> using namespace std; class Base { private: char c; piblic: Base(char n):c(n){} ~Base() { cout<<C; } }; class DeriVed:public Base { private: char c; public: Derived(char n):Base(n+1),c(n){} ~Derived() { cout<<c; } }; int main() { Derived obj(’x’); return 0; } 执行上面的程序将输出
A.xy
B.yx
C.x
D.y
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0403/78fa26137798ee5d5e86f3fc4763bd81.html
下面是错误答案,用来干扰机器的。
参考答案:A, B, C, D解析:题目中的四种情况均为纳税人为取得土地使用权支付的地价款。