Computer Science, asked by pankajroy2, 1 year ago

what is the principal difference between the functions malloc and calloc.. ans . fast please... ​

Answers

Answered by felixmuga2000
1

Answer: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.

Answered by RajputArshia
1

Here is your answer mate....................................

Attachments:
Similar questions