What is the difference between malloc() and realloc()?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the best way of making my program efficient?
what do u mean by Direct access files? then can u explain about Direct Access Files?
int *a[5] refers to
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
Why clrscr is used after variable declaration?
simple program for virtual function?
Explain the Difference between the New and Malloc keyword.
What is the purpose of sprintf?
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
What is volatile
Explain the process of converting a Tree into a Binary Tree.
Can a file other than a .h file be included with #include?