Thread: C language
View Single Post
Old 11-14-2017, 06:47 AM   #3
nele
Registered User
 
Join Date: Aug 2013
Posts: 79
hi, thevyakar

There are two major differences between malloc and calloc in C programming language: first, in the number of arguments.

The malloc() takes a single argument, while calloc() takess two. Second, malloc() does not initialize the memory allocated, while calloc() initializes the allocated memory to ZERO.
__________________
"Powerfull state of the art DELL servers!"

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Ultimate Windows VPS hosting | Dedicated hardware MS Hyper-V technology Premium bandwidth providers

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Chat support Full 24/7 help desk support Email support
nele is offline   Reply With Quote