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
What are called c variables?
Explain what is the most efficient way to store flag values?
What is a list in c?
What does the c in ctime mean?
What is the sizeof () a pointer?
What is far pointer in c?
how to introdu5ce my self in serco
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What are header files and what are its uses in C programming?
What is the correct code to have following output in c using nested for loop?
How can a program be made to print the line number where an error occurs?
What is cohesion in c?
What does. int *x[](); means ?
What are the general description for loop statement and available loop types in c?
Explain how can I make sure that my program is the only one accessing a file?