What is destructor example?
No Answer is Posted For this Question
Be the First to Post Answer
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
What is oops and why we use oops?
When will a constructor executed?
What is difference between data abstraction and encapsulation?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
What is oops concept with example?
What is extreme programming?
What is stream in oop?
Why oops is important?
Why do we use class?
Can a destructor be called directly?
what is new modifier in C#