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
What is atoi?
How do you clear a set in c++?
Explain how we implement exception handling in c++?
What is the difference between mutex and binary semaphore?
Why do we use constructor?
What is c++ good for?
What is the standard template library (stl)?
What are the differences between new and malloc?
What is c++ mutable?
What is split a string in c++?
What language is a dll written in?
Explain overriding.
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
What is the difference between set and map in c++?
Which bit wise operator is suitable for putting on a particular bit in a number?