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 the difference between malloc() and realloc()?

Answers were Sorted based on User's Feedback



What is the difference between malloc() and realloc()?..

Answer / nashiinformaticssolutions

• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between malloc() and realloc()?..

Answer / glibwaresoftsolutions

• malloc(): Allocates memory.
• realloc(): Resizes an already allocated memory block, preserving existing data if possible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is the best way of making my program efficient?

0 Answers  


what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


int *a[5] refers to

12 Answers   TCS,


Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.

2 Answers   Infosys,


Why clrscr is used after variable declaration?

0 Answers  


simple program for virtual function?

1 Answers  


Explain the Difference between the New and Malloc keyword.

0 Answers   InterGraph,


What is the purpose of sprintf?

0 Answers  


What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }

1 Answers   Google,


What is volatile

2 Answers  


Explain the process of converting a Tree into a Binary Tree.

0 Answers   Ignou,


Can a file other than a .h file be included with #include?

0 Answers   Aspire, Infogain,


Categories