单选题 C++
题号 #144494

有如下程序:  
#include  
class BASE{  
 char c;  
public:  
 BASE(char n):c(n){}  
 virtual~BASE(){cout< 
};  
class DERIVED:public BASE{  
 char c;  
public:  
 DERIVED(char n):BASE(n+1),c(n){}  
 ~DERIVED(){cout< 
};  
int main()  
{ DERIVED("X");  
 return 0;  
}  
执行上面的程序将输出( )

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考