Difference between delete and delete[]?
Answer Posted / namitha
delete is a function used to deallocate the storage space.
delete[] is a function used to deallocate the storage space
of an array.
Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
Explain the use of virtual destructor?
Explain virtual destructor?
What is copy constructor? Can we make copy constructor private in c++?
What is lvalue?
What is c++ good for?
What is virtual methods?
What is c++ library?
what is multi-threading in C++?
Define copy constructor.
What is the use of 'this' pointer?
Write a note about the virtual member function?
Incase of a function declaration, what is extern means?
To what does “event-driven” refer?
How would you differentiate between a pre and post increment operators while overloading?
Is dev c++ a good compiler?