Did you like how we did? Rate your experience!

4.5

satisfied

46 votes

Do allocations of types smaller than the largest type take up the?

When you malloc, it gives you a chunk of memory. It doesnt have to allocate exactly the number of asked bytes, would depend on implementation I believe. Heres details on glibc

100%
Loading, please wait...