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
|