*x = L->list[i]; /* Save the deleted element to parameter x */ for(j = i+1; j <= L->size-1; j++) L->list[i] = L->list[i+1]; L->size--;
Why is it when I try to take in a text in the variable is does not store in the full sentence. The malloc seems to not allocate enough memory