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
Why c++ is faster than java?
Which programming language's unsatisfactory performance led to the discovery of c++?
What is function prototyping? What are its advantages?
What are mutator methods in c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Why do we use structure in c++?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
Please explain class & object in c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What is the use of map in c++?
What is binary search in c++?
Does improper inheritance have a potential to wreck a project?
an integer constant must have atleast one a) character b) digit c) decimal point
What is singleton pattern in c++?