implementing array of linked list without using vector

By any chance do any of you guys know any way to implement an array of linked list without using vector, since i need to implement an array of linked list using c and unfortunately vector library is unavailable.

//i am not sure how to implement an array of linked list without vector

And that's why I always say: start with C first.
If you're making linked list, you don't use [].

Inside your main() you just hold head pointer which points at first node.

Your create_node code has to be something like:

int create_node(node* head, int a_size, int a_stat){
//now we create new node using malloc function, similar to new in c++
node *temp = malloc(sizeof(node));
//on error (node is not created)
if (temp == NULL) return -1;
//temp is now pointing to that newly created node, let's fill it
temp->size = a_size;
temp->stat = a_stat;
temp->next = NULL; //new node points at nothing
//and now tricky part, as we want our new node to point to previous node
node* prev = head; //prev is pointing to first now
if (prev == NULL) //this is actually first node
head = temp; //so head should point to it
else{ //but if it's not
while (prev->next != NULL) //loops until last node in list
prev = prev->next //advance to next node
//while has stoped, now we link our newly created node to back of list
prev->next = temp;
}
return 0;
}

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...