Structs with pointer to next struct? [duplicate]
问题 This question already has answers here : Structs with pointer to next struct (4 answers) Closed 5 years ago . I want to have a session where I insert totally 10 different integers in the size variable that is inside the linked list. I believe I should use result_register() for this? When all 10 integers are stored I want to print them out by typing result->size . I am new with linked lists so please be gentle. struct result { int size; }; struct result* result_next() { // What do I type here?