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
How will you delete a node in DLL?
What is an lvalue?
Explain can you assign a different address to an array tag?
Can you return null in c?
How can you call a function, given its name as a string?
How can I make it pause before closing the program output window?
What is difference between arrays and pointers?
Should a function contain a return statement if it does not return a value?
What are the application of void data type in c?
Why flag is used in c?
What is preprocessor with example?
What is data types?
What does & mean in scanf?
How to draw the flowchart for structure programs?
What does %2f mean in c?