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
Const char *p , char const *p What is the difference between the above two?
How would perform Pattern Matching in C++?
what is data encapsulation in C++?
What is the basic of c++?
Show the application of a dynamic array with the help of an example.
Is c++ a dying language?
What is stl containers in c++?
Do you know about latest advancements in C++ ?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is a unnitialised pointer?
Which is best c++ or java?
When we use Abstract Class and when we use Interface?where we will implement in real time?
What is tellg () in c++?
What are the various access specifiers in c++?
What methods can be overridden in java?