WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / arshad
1.
calloc function takes two argument while malloc takes only 1
2.
by default memory allocated by malloc contains garbage values
whereas that allocated by calloc contains all zero.
Is This Answer Correct ? | 49 Yes | 15 No |
Post New Answer View All Answers
How do I create a directory? How do I remove a directory (and its contents)?
Is null a keyword in c?
Write a program to generate the Fibinocci Series
What are runtime error?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
Write the Program to reverse a string using pointers.
write a programming in c to find the sum of all elements in an array through function.
Write a program to find the biggest number of three numbers in c?
What is a double c?
What is the use of function overloading in C?
What is the use of getchar functions?
What is pointers in c?
What is difference between structure and union?
What does c in a circle mean?
What is call by value in c?