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 does I oop mean?

1021


How to improve object oriented design skills?

948


What are the three parts of a simple empty class?

1980


What is inheritance in simple words?

1010


What is persistence in oop?

1095


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

2090


What is polymorphism in oop example?

960


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1139


What is encapsulation with example?

1024


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2495


Who invented oop?

1065


Can we create object of abstract class?

1030


What is abstraction in oop?

1085


Can we have inheritance without polymorphism?

973


Why do we use inheritance?

1061