WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / nazia wasim
malloc and calloc both are used to allocate
memory dynamically but the difference is
malloc allocates single block of memory and
calloc allocates multiple block of memory as
per the requirement.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Do you have any idea how to compare array with pointer in c?
What does sizeof return c?
Explain how many levels deep can include files be nested?
how logic is used
What is double pointer in c?
How can you find the day of the week given the date?
What is modeling?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
How can a string be converted to a number?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
how to write a c program to print list of fruits in alpabetical order?
What do header files do?
Is boolean a datatype in c?
Explain what is the advantage of a random access file?
How can I call fortran?