WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / vijay r15
malloc creates the
single block of gn
size by user. Malloc
takes 1ly 1 arg.
Calloc creates
multiple block of gn
size. It will
initialize the
reserved memory block
to zero. Calloc takes
2 arguments
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Can we add pointers together?
What is the advantage of c?
How can I insert or delete a line (or record) in the middle of a file?
Is c pass by value or reference?
Define Spanning-Tree Protocol (STP)
program to convert a integer to string in c language'
Difference between Function to pointer and pointer to function
What do you mean by Recursion Function?
What does a pointer variable always consist of?
Tell me about low level programming languages.
Explain what is the use of a semicolon (;) at the end of every program statement?
write a c program to find the sum of five entered numbers using an array named number
How many types of sorting are there in c?
What math functions are available for integers? For floating point?
What is the difference between int main and void main?