What is the difference between calloc() and realloc()?
Answer Posted / nashiinformaticssolutions
calloc() allocates memory and initializes it to zero.
realloc() resizes previously allocated memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why & is used in scanf in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Write a code to generate a series where the next element is the sum of last k terms.
If null and 0 are equivalent as null pointer constants, which should I use?
How can I handle floating-point exceptions gracefully?
What is the best way to comment out a section of code that contains comments?
What oops means?
Is c dynamically typed?
What is the right way to use errno?
Why c is called a middle level language?
What is a structure and why it is used?
What is the use of header files?
Write a program to reverse a given number in c?
Is c is a low level language?
Explain b+ tree?