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 makes a language oop?

593


What is destructor oops?

619


What are the benefits of oop?

604


Is react oop?

607


what's the basic's in dot net

1736






• What are the desirable attributes for memory managment?

1725


What are constructors in oop?

587


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


What is the difference between encapsulation and polymorphism?

592


Why is there no multiple inheritance?

565


What is object in oops?

612


What is encapsulation example?

545


Why is polymorphism used?

583


What are the benefits of polymorphism?

620


What is meant by multiple inheritance?

736