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...

What is realloc() and free()? What is difference between them?

Answer Posted / hrpynux@gmail.com

The free subroutine frees a block of memory previously allocated by the malloc subroutine. The realloc () function is used to allocate memory and has the following prototype: void * realloc (void * ptr, unsigned int num);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a set in c++?

977


what do you mean by volatile variable?

1050


What is lazy initialization in c++?

1107


What is the disadvantage of using a macro?

1124


What is setw manipulator in c++?

1079


Can recursive program be written in C++?

1232


Why do we need function?

1054


What is #include iostream?

1255


Discussion on error handling of C++ .

1122


What is the benefit of learning c++?

990


What are proxy objects in c++?

1183


What are the characteristics of friend functions?

1015


What are put and get pointers?

1130


Distinguish between a # include and #define.

1149


What are c++ tokens?

1059