delete[] an array of objects

后端 未结 5 1215
孤街浪徒
孤街浪徒 2020-11-29 04:12

I have allocated and array of Objects

Objects *array = new Objects[N];

How should I delete this array? Just

delete[] array         


        
5条回答
提交回复
热议问题