Computer Science, asked by vishnu6339, 1 year ago

What is self referential class explain with example?

Answers

Answered by premkumar17
0
It is a special type of class. It is basically created for linked list and tree based implementation in C++. If a class contains the data member as pointer to object of similar class, then it is called a self-referential class.
Similar questions