Anything Wrong With This Code


  • 8 Feb, 2012

    T *p = new T[10];delete p;Everything is correct, Only the first element of the array will be deleted?, The entire array will be deleted, but only the first element destructor will be called.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.