When is the destructor called?


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

Post New Answer

More C++ General Interview Questions

What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


how to access grid view row?

0 Answers  


What is the use of c++ programming language in real life?

0 Answers  


What is a node class in c++?

0 Answers  


In a class only declaration of the function is there but defintion is not there then what is that function?

5 Answers   Hughes,






Is eclipse good for c++?

0 Answers  


How to write a program such that it will delete itself after exectution?

3 Answers  


Can a new be used in place of old mallocq? If yes, why?

0 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


How a modifier is similar to mutator?

0 Answers  


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 Answers  


Can we declare destructor as static? Explain?

3 Answers  


Categories