Pointer to Structure Within the same Structure : Self Referential
- In this Type , Structure has pointer to itself.
- Pointer stores the address of the Structure of same type.
struct node { int data; struct node *ptr; //Pointer to Struct node };
- Here ptr stores address of Structure node.
- This is useful in Dynamic Memory Allocation and Creating Linked Lists.

0 Comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email