When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Answer / Rupender
"If you reallocate memory and it overlaps with existing memory that another pointer points to, you are responsible for updating that pointer. The C library does not adjust other pointers automatically when memory is reallocated."
| Is This Answer Correct ? | 0 Yes | 0 No |
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
How to write a program to receive an integer & find its octal equivalent by using for loop?
For what purpose null pointer used?
WHAT IS HIGH LEVEL LANGUAGE?
we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????
What do you know about the use of bit field?
What are identifiers c?
C program to perform stack operation using singly linked list
What is the right type to use for boolean values in c? Is there a standard type?
what is void pointer?
What is pointers in c?
What are the 5 organizational structures?