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

What are the uses of a pointer?

1153


How a string is stored in c?

1074


Write a simple code fragment that will check if a number is positive or negative.

1156


Where does the name "C" come from, anyway?

1171


What is LINKED LIST? How can you access the last element in a linked list?

1075


What are header files in c programming?

1137


What are local static variables? How can you use them?

1151


Explain what is the difference between functions abs() and fabs()?

1187


What is extern keyword in c?

1136


Explain what header files do I need in order to define the standard library functions I use?

1173


The file stdio.h, what does it contain?

1166


Can true be a variable name in c?

1044


What is union and structure in c?

1231


What are the types of unary operators?

1191


Can include files be nested?

1114