I am trying to find a string in my linked list(Its location is determined by an integer starting at 1) and move it to the front of the list. I have not put in the move to the front of the list code yet, as I have not been able to deal with this error.

```
typedef struct node NODE;
struct node
{
    char word[WORDSIZE];    
    struct node* next;      
};

NODE* start;

int add_to_list(NODE** start, char data[])
{

    NODE* new;
    NODE* curr;

    curr = *start;

    if ((new = malloc(sizeof(NODE))) == NULL)
        return -1;

    strcpy_s(new->word, WORDSIZE, data);
    new->next = *start;
    *start = new;

    return 0;
} 

void FindPrintMove(NODE* start, int index) {
    int size = 0;
    NODE* cur = start;
    while (cur != NULL) {
        size++;
        cur = cur->next;
    }
    cur = start;
    int i = 1;
    while (i < (size - index)) {
        cur = cur->next;

    }
    printf("%s", cur->word);
}

```

I feel like I could use a doubly linked list or add to the end instead of the start but i dont think that would solve this issue