What is struct in struct node?

struct node * , is a pointer to an element of a structure node . It basically stores the address of any variable of type ‘node’ ( A custom structure ). You must also have a structure like this in your program: struct node { int info; struct node* next; }; Using struct is necessary before node* to comply with C syntax.

Sizin İçin Seçtik  How do you use a struct inside a struct?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is struct in struct node?

struct node * , is a pointer to an element of a structure node . It basically stores the address of any variable of type ‘node’ ( A custom structure ). You must also have a structure like this in your program: struct node { int info; struct node* next; }; Using struct is necessary before node* to comply with C syntax.

Sizin İçin Seçtik  Struct nedir ne için kullanılır?

Leave a Reply

Your email address will not be published. Required fields are marked *