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

Post New Answer

More OOPS Interview Questions

who is the father of OPPS

4 Answers   Infosys, TCS,


design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }

0 Answers  


What is the real time example of inheritance?

0 Answers  


What is methods in oop?

0 Answers  


What are the benefits of oop?

0 Answers  






What is persistence in oop?

0 Answers  


What are constructors in oop?

0 Answers  


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.

1 Answers   Wipro,


What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

4 Answers   Accenture, L&T,


What is oops with example?

0 Answers  


What do you mean by stack program? Get me an example stack program?

4 Answers  


What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,


Categories