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

What are called c variables?

1044


Explain what is the most efficient way to store flag values?

1219


What is a list in c?

1020


What does the c in ctime mean?

1077


What is the sizeof () a pointer?

970


What is far pointer in c?

1300


how to introdu5ce my self in serco

1991


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1083


What are header files and what are its uses in C programming?

1214


What is the correct code to have following output in c using nested for loop?

1071


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

1074


What is cohesion in c?

967


What does. int *x[](); means ?

1053


What are the general description for loop statement and available loop types in c?

1109


Explain how can I make sure that my program is the only one accessing a file?

1213