Why can't we have instance(stack) of a class as a member of
the same class like eg.Class A{A obj;} as we can have self
refential pointer
No Answer is Posted For this Question
Be the First to Post Answer
who is the father of OPPS
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
What is the real time example of inheritance?
What is methods in oop?
What are the benefits of oop?
What is persistence in oop?
What are constructors in oop?
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
What is oops with example?
What do you mean by stack program? Get me an example stack program?
What is the difference between pass by reference and pass by value?