WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / datta khilari
1.malloc() takes one argument and allocates memory in a
bytes and return to the pointer.
1.calloc() takes two argument and allocates memory in a
blocks and return to the pointer.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is realloc in c?
What is nested structure?
Explain why can’t constant values be used to define an array’s initial size?
What is pass by reference in c?
How can you convert integers to binary or hexadecimal?
what is a function method?give example?
What is p in text message?
How can I list all of the predefined identifiers?
What is a structural principle?
What is #include in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is the difference between fread and fwrite function?
What are conditional operators in C?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?