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 |
Can you write the function prototype, definition and mention the other requirements.
What is main () in c?
what is use of loop?
what is meant by c
What are variables c?
What is #include in c?
Why is c fast?
Write a program to find minimum between three no.s whithout using comparison operator.
main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }
what is recursion in C
how i m write c program 1.check prime number 2.prime number series
What is the difference between realloc() and free()