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 setfill c++?
Explain the concept of memory leak?
What does new in c++ do?
Does c++ have arraylist?
Which compiler does turbo c++ use?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is a c++ vector?
What is a local reference?
Define a constructor?
What are the two types of comments?
How do I tokenize a string in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What are the various compound assignment operators in c++?
What is #include c++?
What is meant by forward referencing and when should it be used?