单选题 C++
题号 #144313

有如下程序:  
#include 
using namespace std;  
class point {  
public:  
static int number;  
public:  
point(){number++;  
~point(){number-;}  
};  
imt point::number=0;  
void main(){  
point*ptr;  
printA,B;  
{  
point*ptr_point=new point{3};  
ptr=ptr_point;  
}  
pointC;  
cout < delete[]ptr; 
}  
运行时输出的结果是(  )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

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