WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / venkateswarlupanidapu
malloc occupies byte of space in memory location and holds
only one argument of data bytes.
calloc occupies and holds 2 bytes of memory in address
location with arguments databytes,number of data bytes.
calloc occupies in structure of blocks and malloc allocates
in struncture of databytes.
| Is This Answer Correct ? | 14 Yes | 12 No |
Post New Answer View All Answers
FILE PROGRAMMING
What is a pointer variable in c language?
What is the meaning of && in c?
What is difference between union All statement and Union?
What is difference between union and structure in c?
Difference between pass by reference and pass by value?
What is a substring in c?
What is return type in c?
What is pointer to pointer in c with example?
What are header files in c programming?
What is the purpose of void pointer?
What is the difference between union and structure in c?
Tell us two differences between new () and malloc ()?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What are type modifiers in c?