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 the main purpose of overloading operators?
What are files in c++?
How does com provide language transparency?
What is an inline function in c++?
How do you generate a random number in c++?
What is the use of data hiding?
What is the full name of logo?
What character terminates all character array strings a) b) . c) END
How is objective c different from c++?
What operators can you overload in c++?
Give an example of run-time polymorphism/virtual functions.
What is the use of class in c++?
Differentiate between a constructor and a method in C++.
Which field is used in c++?
what are the decision making statements in C++? Explain if statement with an example?