Thread: C language
View Single Post
Old 11-08-2017, 04:57 AM   #2
Lebar.123
Registered User
 
Join Date: Nov 2017
Posts: 463
Basically there is no difference between the two besides calloc() zero-initializes the buffer, while malloc() leaves the memory uninitialized.
__________________
Get your email validated by our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
@ ZeroBounce
Lebar.123 is offline   Reply With Quote