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()?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about C function prototype?

1139


Is c easier than java?

1119


Explain how can a program be made to print the line number where an error occurs?

1282


How can I split up a string into whitespace-separated fields?

1103


What language is c written?

1098


Why we use conio h in c?

1298


What are the disadvantages of c language?

1255


What is realloc in c?

1163


Where local variables are stored in c?

1045


Is exit(status) truly equivalent to returning the same status from main?

1115


What is the heap?

1258


Explain what are the different data types in c?

1265


What are the similarities between c and c++?

1139


Explain high-order and low-order bytes.

1164


What are the 3 types of structures?

1063