I just have a simple question about arrays in C
What\'s the best way to remove elements from an array and in the process make the array smaller.
i.e the ar
I usually do this and works always.
/try this/
for (i = res; i < *size-1; i++) { arrb[i] = arrb[i + 1]; } *size = *size - 1; /*in some ides size -- could give problems*/