Quantcast
Channel: User Zan Lynx - Stack Overflow
Viewing all articles
Browse latest Browse all 40

Answer by Zan Lynx for Is the memory allocation done by malloc always contiguous?

$
0
0

A single block of memory returned by malloc, calloc or realloc will always be contiguous.

The next block of memory returned by a separate alloc call can be at any address and does not need to be contiguous with the first block.


Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>