It creates an array in C, What happen when come out of the program in the memory? -
i have doubt, supose have array 1 billion of elements , create array follows:
int array[1000] = {1,2, ..., n.}
and finish program.
not being java machine java garbage collection memory clean records stored of arrangement. they stay in memory or released?
when process exits, operating system frees memory process using.
(this not apply small embedded operating systems.)
Comments
Post a Comment