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
How can I handle floating-point exceptions gracefully?
How reliable are floating-point comparisons?
What is array of pointers to string?
List a few unconditional control statement in c.
What are dangling pointers? How are dangling pointers different from memory leaks?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Explain continue keyword in c
What is the difference between pure virtual function and virtual function?
What is structure pointer in c?
What is the c value paradox and how is it explained?
Explain the advantages of using macro in c language?
Write a program of advanced Fibonacci series.
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Why pointers are used in c?
What is the difference between c &c++?