Can't we use structures to implement link lists? (no pointer)

Asked 2 years ago, Updated 2 years ago, 113 views

Is it impossible to connect the structure inside the structure?

c linked-list

2022-09-21 21:17

1 Answers

Of course it's possible.

I don't know what the no pointer means, but the stack has a small space and is a space that is organized when it is out of the function.

Eventually, you have to create it on the heap to store a lot of data, or to maintain it (perpetuity), and you have to use a pointer to handle that data.

In order to be good at the language of c, I recommend you to learn assembly language.


2022-09-21 21:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.