I was wondering how arrays work down at the binary level because I’m trying to think of a way to split them up; meaning take an array and make it into a linked list and I’m not talking about turning an array into a linked list (copying, old array into new…)I’m saying is there anyway possible to release the data in an array from one another.
Share
You can’t release memory of arbitrary elements in an array, because it’s continuous allocated. However it is possible to release the tail, by
realloc.