Call Us : +91-8376986802 (Viber, WhatsApp)

Explain with an example the self-referential structure.



A self referential structure is used to create data structures like linked lists, stacks, etc. Following is an example of this kind of structure:

struct struct_name
{
datatype datatypename;
struct_name * pointer_name;
};

Leave a Reply