What is the need of a destructor? Explain with the help of an example.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];

3 Answers  


What are advantages of c++?

0 Answers  


what Is DCS ? what i will get benefit when i did?

0 Answers  


How the programmer of a class should decide whether to declare member function or a friend function?

0 Answers  


What is the difference between public and private data members?

0 Answers  






Which operations are permitted on pointers?

0 Answers  


What is the difference between delegation and implemented-in-terms-of?

0 Answers  


What is class syntax c++?

0 Answers  


Why should you learn c++?

0 Answers  


Does c++ have a hash table?

0 Answers  


Are vectors passed by reference c++?

0 Answers  


What is c++ good for?

0 Answers  


Categories