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

• 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 continue keyword in c

1022


What is volatile, register definition in C

1109


What is this pointer in c plus plus?

1094


What are c header files?

995


Explain the use of keyword 'register' with respect to variables.

1056


What is variables in c?

1054


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

1166


What are data types in c language?

1059


How can I automatically locate a programs configuration files in the same directory as the executable?

1175


Why dont c comments nest?

1052


What is table lookup in c?

1103


What are valid signatures for the Main function?

1238


What are different storage class specifiers in c?

1096


Which is best book for data structures in c?

1093


Explain c preprocessor?

1119