c - about malloc calloc and realloc -
possible duplicates:
how malloc() implemented internally?
how free , malloc work in c?
whenever write program using malloc , calloc , realloc varies go , sit, i.e in part of memory go , reside. whether variables (in cases) allotted contiguous space or variables go , sit wherever space available
the requested memory allocated contiguously on heap if enough space available. otherwise, functions return null indicate failure.
Comments
Post a Comment