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 / jayasrinivas.donavalli

realloc() can be use to reallocation of the memory if the
memory already created is insufficient,
but free can be used to destroy the memory which was
already created

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the important components of cohesion?

1030


What language is oop?

1027


What are constructors in oop?

1204


What is polymorphism used for?

1077


What is polymorphism oop?

1071


How to use CMutex, CSemaphore in VC++ MFC

4792


Write a c++ program to display pass and fail for three student using static member function

3413


Why is destructor used?

1034


write a C++ program for booking using constructor and destructor.

2552


How do you achieve polymorphism?

1091


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

1346


Get me a number puzzle game-program

2259


What are functions in oop?

1065


What is basic concept of oop?

1180


How to hide the base class functionality in Inheritance?

1150