Difference between delete and delete[]?
Answer Posted / laxman
delete is only just to delete a variable which is created
by new operator. delete[] , it deletes the array where the
varaialbe points .
Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
What is c++ and its features?
Write a program in C++ for Fibonacci series
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
What is c++ and its uses? What return value must conversion operators have in their declaration? What is the full form nasa? Explain abstraction. what is COPY CONSTRUCTOR and what is it used for? What is the advantage of c++ over c? Explain mutable storage class specifier. Why is standard template library used? Is it possible for a member function to use delete this? How do c++ struct differs from the c++ class? What operators can you overload in c++? Why is null pointer used?