Sparse Array in C! How accomplish it? Can I alloc only parts of an array?
- by drigoSkalWalker
Hi guys!
The first question is: "How I do a simple sparse array in C (with one dimension only)?" {with my own hands, without libraries.}
And the last one: "Can I allocate only parts of an array?"
like *array;
then use malloc to allocate some mem for this;
so, We free the index that we don't want.
Can I do it?
Thanks so much!