WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / karthik
Malloc() is used to allocate a block of memory
Calloc() is used to allocate a block of memory and initialize it.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the method to save data in stack data structure type?
How many types of arrays are there in c?
What are enums in c?
What are the main characteristics of c language describe the structure of ac program?
What is c variable?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What does a pointer variable always consist of?
What is #define size in c?
write a program to copy the string using switch case?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is string length in c?
What's the total generic pointer type?
C program to find all possible outcomes of a dice?
What are the benefits of organizational structure?
Do pointers take up memory?