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 |
differnce between do and do while
Can a pointer be null?
What does extern mean in a function declaration?
Which is best linux os?
Can a void pointer point to a function?
What are the 4 types of unions?
What does volatile do?
what will be the output of this program main() { int i=1; while (i<=10); { i++; } }
what is the differnce between AF_INET and PF_INET?
5 Answers Systems Plus, Wipro,
What is main void in c?
write program on arrays
write a programme that inputs a number by user and gives its multiplication table.