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
What is a stack c++?
What are the two shift operators and what are their functions?
What is an adaptor class in c++?
Describe friend function & its advantages.
Is map ordered c++?
Why do we need constructors in c++?
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What relational operators if statements in c++?
What is a rooted hierarchy?
Can you sort a set c++?
Should the this pointer can be used in the constructor?