what is the difference between malloc() and calloc() function?
Answer Posted / amritha rose
malloc will allocate memory according to the size we
specified
calloc vil allocate memory as blockwise
and initialize by 0
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Why doesnt the call scanf work?
How do I copy files?
Explain what are header files and explain what are its uses in c programming?
What is nested structure in c?
Explain why can’t constant values be used to define an array’s initial size?
How to throw some light on the b tree?
What is the use of c language in real life?
Does sprintf put null character?
What is the difference between fread buffer() and fwrite buffer()?
Do pointers take up memory?
using for loop sum 2 number of any 4 digit number in c language
Write a program to check prime number in c programming?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
What is integer constants?
Why is it that not all header files are declared in every C program?