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 time_t c++?

0 Answers  


What is meant by entry controlled loop? What all C++ loops are exit controlled?

0 Answers   TCS,


When is the destructor called?

0 Answers  


What is a pointer with example?

0 Answers  


Is there any difference between dlearations int* x and int *x? If so tell me the difference?

16 Answers   Lason,


How to create a reference variable in C++

1 Answers  


Define upcasting.

0 Answers  


program in c++ to input digits and print in words

1 Answers   Microsoft,


What is operator overloading in c++ example?

0 Answers  


Explain selection sorting. Also write an example.

0 Answers  


What is function prototyping? What are its advantages?

0 Answers  


Search for: what is pair in c++?

0 Answers  


Categories