Self Referential Structure

Preview

Self Referential Structure

Self referential structure contains a pointer variable of itself . it is mainly used for implementing data structures like stack, queue, linked list, trees and graphs in C.
Example

struct STACK

{

int *top;

struct STACK *Link;

};


Best Books of C





Lesson tags: self referential structure, self referential structure in c
Back to: C Programming Language