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
write a program in c language to print your bio-data on the screen by using functions.
What are header files? What are their uses?
Give basis knowledge of web designing ...
By using C language input a date into it and if it is right?
hi send me sample aptitude papers of cts?
how can use subset in c program and give more example
What is the argument of a function in c?
How many main () function we can have in a project?
Which is the best website to learn c programming?
What is #line used for?
What is the use of #include in c?
What is the correct code to have following output in c using nested for loop?
Why is it important to memset a variable, immediately after allocating memory to it ?
Differentiate between ordinary variable and pointer in c.
Do pointers need to be initialized?