About “new” and “delete”, which one is incorrect?
A、“new” can be used to dynamically create objects and object arrays.;
B、When an object is created by “new”, the constructor of the class is called.;
C、If an object is created by “new”, “delete” should be used to destruct it.;
D、“new” and “delete” are often used in pairs, and they must be used in the same function.
发布时间:2025-08-16 00:16:56