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?



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

Answer / 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

More C++ General Interview Questions

What is anonymous object in c++?

0 Answers  


What is a virtual destructor?

2 Answers  


What is the best way to declare and define global variables?

0 Answers  


What is lambda in c++?

0 Answers  


What is rtti in c++?

0 Answers  


Is main a class in c++?

0 Answers  


Is it possible to use a new for the reallocation of pointers ?

0 Answers  


What is switch case in c++ syntax?

0 Answers  


What is a singleton class c++?

0 Answers  


What are the classes in c++?

0 Answers  


What is Name Decoration?

2 Answers   Lucent,


Differentiate between a deep copy and a shallow copy?

1 Answers  


Categories