Difference between realloc() and free?

Answer Posted / eswaramoorthy

realloc() is use to reset already allocated memory size.
free() is use to destroy already allocated memory size.

Is This Answer Correct ?    26 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism and example?

590


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2145


Can bst contain duplicates?

665


What is inheritance in simple words?

625


Which type does string inherit from?

614






design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6145


What are the components of marker interface?

600


What is coupling in oop?

595


What is difference between pop and oop?

604


What is oops with example?

562


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2102


How do you define social class?

599


Why do we use encapsulation in oops?

518


What is byval and byref? What are differences between them?

1687


What is difference between polymorphism and inheritance?

617