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 a char c?
what is the use of operator ^ in C ? and how it works?
why r u join this company? give solid resons.
16 Answers IBM, Infosys, TCS,
What is function in c with example?
What are header files in c programming?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Why & is used in c?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
how to swap 2 numbers in a single statement?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?