Nguyễn Việt Thắng
New member
What is block of memory?
Answer
A memory block is
a group of one or more contiguous chars (“bytes” – see note) of (real or virtual) memory. The malloc(size_t size) function allocates a memory block. The size is how large (in chars) the block should be.
Answer
A memory block is
a group of one or more contiguous chars (“bytes” – see note) of (real or virtual) memory. The malloc(size_t size) function allocates a memory block. The size is how large (in chars) the block should be.