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

Should I learn data structures in c or python?

1022


How are 16- and 32-bit numbers stored?

1288


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1069


Explain union. What are its advantages?

1079


What are different storage class specifiers in c?

1091


Write a program to swap two numbers without using third variable in c?

1130


What is an array in c?

1053


What is identifier in c?

1010


Is c# a good language?

1011


How many levels of pointers can you have?

1191


Explain what standard functions are available to manipulate strings?

1076


how to make a scientific calculater ?

2069


What is a volatile keyword in c?

1164


What do the functions atoi(), itoa() and gcvt() do?

1182


What is the purpose of void in c?

1067