使用delete[]删除对象数组时,描述正确的是( )
A.
数组中各元素都调用析构函数
B.
数组中各元素都调用构造函数
C.
不调用析构函数
D.
只有首元素调用析构函数
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239735.html
上一篇:Passage 1 Beijing RisingIf there is a road to China's future. Highway 204 out of Shanghai is it. Along its two dusty lanes, local tracks and buses jockey with Cadillacs driven by financiers from Taiwan and Hong Kong investors. Migrant workers
下一篇:建筑安装企业的营业税税率为