What is the difference between malloc() and realloc()?
Answer Posted / nashiinformaticssolutions
• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain continue keyword in c
What is volatile, register definition in C
What is this pointer in c plus plus?
What are c header files?
Explain the use of keyword 'register' with respect to variables.
What is variables in c?
Can a file other than a .h file be included with #include?
What are data types in c language?
How can I automatically locate a programs configuration files in the same directory as the executable?
Why dont c comments nest?
What is table lookup in c?
What are valid signatures for the Main function?
What are different storage class specifiers in c?
Which is best book for data structures in c?
Explain c preprocessor?