Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


There are two major differences between malloc and calloc in C programming language:first,in the number of argument.The malloc() takes a single argument while calloc() takes two.Second,malloc doesn't initialize the memory allocated,while calloc initialize the allocated memory to ZERO.
1 5 1
The malloc takes single argument. It does not initialize the memory allocated.
                         The calloc takes two argument. It does initializes the allocated memory to Zero.
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts