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 stl containers in c++?
what is pre-processor in C++?
What are the important differences between c++ and java?
How can I disable the "echo" feature?
how to explain our contribution in the project?
What does obj stand for?
What are static variables?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
What is the best c++ compiler?
What is fixed in c++?
What is a constant reference?
How do you master coding?
What's the most powerful programming language?
How to access a variable of the structure?
What are the various access specifiers in c++?