linked list in C
I declare few nodes . lets say my node is named as sortElement.
now I want to store the memory locations of these nodes in an array
How do i declare that?
I tired something this way but I encountered an error in linux
struct sortElement
{
declaration;
};
sortElement *element[24];
what i am trying to do here is declare an array element which can store the locations of all my nodes
will this work?