KoblentsBlog Photography
Contact About
Published Dec 8, 2016
So... why does
calloc
exist, if it's equivalent to these 2 lines? The C library is not known for its excessive focus on providing convenient shorthands!
It turns out there are actually two differences between calling
calloc
, versus calling
malloc + memset
.
 
 
« Newest November 2016 »
© Copyright Koblents.com, 2012-2017