WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / vini sharma
malloc()
allocates byte of memory and calloc() allocates block of
memory.
Is This Answer Correct ? | 50 Yes | 22 No |
Post New Answer View All Answers
Differentiate between Macro and ordinary definition.
What is difference between static and global variable in c?
What do you mean by a local block?
What is #include stdio h?
what does static variable mean?
Where define directive used?
Do you know the use of 'auto' keyword?
What are the two types of structure?
How can you avoid including a header more than once?
Where register variables are stored in c?
What are the types of operators in c?
Can we access array using pointer in c language?
What is the size of a union variable?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Why calloc is better than malloc?