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?

592


what type of question are asked in thoughtworks pair programming round ?

1762


Advantage and disadvantage of routing in telecom sector

786


What is object in oops?

614


How to use CMutex, CSemaphore in VC++ MFC

4331






Why is there no multiple inheritance?

570


What is oops in simple words?

581


Give two or more real cenario of virtual function and vertual object

1851


Can we override main method?

607


What does I oop mean?

616


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6485


What are the features of oop?

639


What does and I oop and sksksk mean?

652


What is overloading in oop?

577


Which type does string inherit from?

616