Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between realloc() and free?

Answer Posted / pratik bokade

✨Free() method is used to dynamically de-allocate the memory.
Syntax: Free(Ptr);
✨Realloc() or reallocation method is used dynamically changed the memory allocation of a previously allocated memory.
Syntax : Ptr=Realloc(Ptr, new size);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 principles of oop?

1124


How to use CMutex, CSemaphore in VC++ MFC

4786


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1955


Why do we use polymorphism?

1088


What are the three parts of a simple empty class?

2056


Which type does string inherit from?

1109


Which method cannot be overridden?

1100


What is abstraction and encapsulation?

1022


What is object-oriented programming? Webopedia definition

1267


Where is pseudocode used?

1108


What is overriding in oops?

1110


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4151


Why do we use polymorphism in oops?

1055


What is encapsulation and abstraction? How are they implemented in C++?

1140