Difference between realloc() and free?

Answer Posted / khadeer.k

realloc():
memory when gets decreased, we can allocate it with the
function called realloc().
free:
it is used to free the memory in the program.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an example of genetic polymorphism?

657


• What are the desirable attributes for memory managment?

1737


Please send ford technologies placement paper 2 my mail id

1666


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2774


What is inheritance in simple words?

631






What is difference between multiple inheritance and multilevel inheritance?

610


What is meant by multiple inheritance?

744


Get me a number puzzle game-program

1701


Can we create object of interface?

614


What is and I oop mean?

630


What is oops in programming?

574


What is polymorphism used for?

583


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1662


Which language is pure oop?

560


What is abstraction oop?

631