3 ms·
So when would you ever use malloc? calloc appears to be superior.
by Traubenfuchs 4y ago
So when would you ever use malloc? calloc appears to be superior.
- saagarjha 4y agoNot having to zero out allocations can mean that malloc runs slightly faster.